public class PooledJavaComponent extends AbstractJavaComponent
PooledJavaComponent
implements pooling.Modifier and Type | Class and Description |
---|---|
protected class |
PooledJavaComponent.LifeCycleAdaptorFactory
LifeCycleAdaptorFactory wraps the Component' s
ObjectFactory . |
Modifier and Type | Field and Description |
---|---|
protected LifecyleEnabledObjectPool |
lifecycleAdapterPool |
protected PoolingProfile |
poolingProfile |
entryPointResolverSet, lifecycleAdapterFactory, nestedRouter, objectFactory
disposed, disposing, initialised, logger, notificationHandler, service, started, statistics, stopping
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
PooledJavaComponent() |
PooledJavaComponent(ObjectFactory objectFactory) |
PooledJavaComponent(ObjectFactory objectFactory,
PoolingProfile poolingProfile) |
PooledJavaComponent(ObjectFactory objectFactory,
PoolingProfile poolingProfile,
EntryPointResolverSet entryPointResolverSet,
NestedRouterCollection nestedRouterCollection) |
Modifier and Type | Method and Description |
---|---|
protected LifecycleAdapter |
borrowComponentLifecycleAdaptor() |
protected void |
doStart() |
protected void |
doStop() |
PoolingProfile |
getPoolingProfile() |
protected void |
returnComponentLifecycleAdaptor(LifecycleAdapter lifecycleAdapter) |
void |
setPoolingProfile(PoolingProfile poolingProfile) |
createLifeCycleAdaptor, doDispose, doInitialise, doOnCall, getEntryPointResolverSet, getLifecycleAdapterFactory, getNestedRouter, getObjectFactory, getObjectType, invokeComponentInstance, setEntryPointResolvers, setEntryPointResolverSet, setLifecycleAdapterFactory, setNestedRouter, setObjectFactory
checkDisposed, dispose, fireComponentNotification, getService, getStatistics, initialise, onCall, release, setService, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getService, getStatistics, onCall, setService
initialise
dispose
protected PoolingProfile poolingProfile
protected LifecyleEnabledObjectPool lifecycleAdapterPool
public PooledJavaComponent()
public PooledJavaComponent(ObjectFactory objectFactory)
public PooledJavaComponent(ObjectFactory objectFactory, PoolingProfile poolingProfile)
public PooledJavaComponent(ObjectFactory objectFactory, PoolingProfile poolingProfile, EntryPointResolverSet entryPointResolverSet, NestedRouterCollection nestedRouterCollection)
protected LifecycleAdapter borrowComponentLifecycleAdaptor() throws Exception
borrowComponentLifecycleAdaptor
in class AbstractJavaComponent
Exception
protected void returnComponentLifecycleAdaptor(LifecycleAdapter lifecycleAdapter)
returnComponentLifecycleAdaptor
in class AbstractJavaComponent
protected void doStart() throws MuleException
doStart
in class AbstractJavaComponent
MuleException
protected void doStop() throws MuleException
doStop
in class AbstractComponent
MuleException
public void setPoolingProfile(PoolingProfile poolingProfile)
public PoolingProfile getPoolingProfile()
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.