org.mule.component
Class DefaultJavaComponent
java.lang.Object
org.mule.component.AbstractComponent
org.mule.component.AbstractJavaComponent
org.mule.component.DefaultJavaComponent
- All Implemented Interfaces:
- Component, JavaComponent, MuleContextAware, Interceptor, Disposable, Initialisable, Lifecycle, Startable, Stoppable
public class DefaultJavaComponent
- extends AbstractJavaComponent
Default implementation of JavaComponent
. Component lifecycle is
propagated to the component object instance via the LifecycleAdapter
.
Fields inherited from class org.mule.component.AbstractComponent |
disposed, disposing, initialised, interceptors, logger, muleContext, notificationHandler, service, started, statistics, stopping |
Methods inherited from class org.mule.component.AbstractJavaComponent |
createLifeCycleAdaptor, doInitialise, doInvoke, getBindingCollection, getEntryPointResolverSet, getLifecycleAdapterFactory, getObjectFactory, getObjectType, invokeComponentInstance, setBindingCollection, setEntryPointResolvers, setEntryPointResolverSet, setLifecycleAdapterFactory, setObjectFactory |
Methods inherited from class org.mule.component.AbstractComponent |
checkDisposed, createResultMessage, dispose, fireComponentNotification, getInterceptors, getService, getStatistics, initialise, intercept, invoke, release, setInterceptors, setMuleContext, setService, start, stop, toString |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
singletonComponentLifecycleAdapter
protected LifecycleAdapter singletonComponentLifecycleAdapter
DefaultJavaComponent
public DefaultJavaComponent()
DefaultJavaComponent
public DefaultJavaComponent(ObjectFactory objectFactory)
DefaultJavaComponent
public DefaultJavaComponent(ObjectFactory objectFactory,
EntryPointResolverSet entryPointResolverSet,
BindingCollection bindingCollection)
doStart
protected void doStart()
throws MuleException
- Overrides:
doStart
in class AbstractJavaComponent
- Throws:
MuleException
doStop
protected void doStop()
throws MuleException
- Overrides:
doStop
in class AbstractComponent
- Throws:
MuleException
doDispose
protected void doDispose()
- Overrides:
doDispose
in class AbstractJavaComponent
borrowComponentLifecycleAdaptor
protected LifecycleAdapter borrowComponentLifecycleAdaptor()
throws Exception
- Specified by:
borrowComponentLifecycleAdaptor
in class AbstractJavaComponent
- Throws:
Exception
returnComponentLifecycleAdaptor
protected void returnComponentLifecycleAdaptor(LifecycleAdapter lifecycleAdapter)
throws Exception
- Specified by:
returnComponentLifecycleAdaptor
in class AbstractJavaComponent
- Throws:
Exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.