
de.codecentric.mule.assertobjectequals.generated.adapters.AssertObjectEqualsConnectorLifecycleInjectionAdapter Maven / Gradle / Ivy
package de.codecentric.mule.assertobjectequals.generated.adapters;
import de.codecentric.mule.assertobjectequals.AssertObjectEqualsConnector;
import javax.annotation.Generated;
import org.mule.api.MuleContext;
import org.mule.api.MuleException;
import org.mule.api.context.MuleContextAware;
import org.mule.api.lifecycle.Disposable;
import org.mule.api.lifecycle.Initialisable;
import org.mule.api.lifecycle.InitialisationException;
import org.mule.api.lifecycle.Startable;
import org.mule.api.lifecycle.Stoppable;
import org.mule.common.MuleVersion;
import org.mule.config.MuleManifest;
import org.mule.config.i18n.CoreMessages;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A AssertObjectEqualsConnectorLifecycleInjectionAdapter
is a wrapper around {@link AssertObjectEqualsConnector } that adds lifecycle methods to the pojo. This adapter also allows the injection of several Mule facilities when a MuleContext is set.
*
*/
@SuppressWarnings("all")
@Generated(value = "Mule DevKit Version 3.9.0", date = "2017-04-21T05:05:21+02:00", comments = "Build UNNAMED.2793.f49b6c7")
public class AssertObjectEqualsConnectorLifecycleInjectionAdapter
extends AssertObjectEqualsConnectorMetadataAdapter
implements MuleContextAware, Disposable, Initialisable, Startable, Stoppable
{
@Override
public void start()
throws MuleException
{
}
@Override
public void stop()
throws MuleException
{
}
@Override
public void initialise()
throws InitialisationException
{
Logger log = LoggerFactory.getLogger(AssertObjectEqualsConnectorLifecycleInjectionAdapter.class);
MuleVersion connectorVersion = new MuleVersion("3.5.0");
MuleVersion muleVersion = new MuleVersion(MuleManifest.getProductVersion());
if (!muleVersion.atLeastBase(connectorVersion)) {
throw new InitialisationException(CoreMessages.minMuleVersionNotMet(this.getMinMuleVersion()), this);
}
}
@Override
public void dispose() {
}
@Override
public void setMuleContext(MuleContext context) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy