org.mule.config.pool
Class CommonsPoolProxyFactory
java.lang.Object
org.mule.config.pool.AbstractProxyFactory
org.mule.config.pool.CommonsPoolProxyFactory
- All Implemented Interfaces:
- PoolableObjectFactory, ObjectFactory
- Direct Known Subclasses:
- OptimisedProxyFactory
public class CommonsPoolProxyFactory
- extends AbstractProxyFactory
- implements PoolableObjectFactory
CommonsPoolProxyFactory
is used to create MuleProxies for use in a
proxy pool. This is a Jakarta commons-pool implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsPoolProxyFactory
public CommonsPoolProxyFactory(MuleDescriptor descriptor,
UMOModel model)
- Creates a pool factory using the descriptor as the basis for creating its
objects
- Parameters:
descriptor
- the descriptor to use to construct a MuleProxy- See Also:
MuleDescriptor
activateObject
public void activateObject(Object arg0)
throws Exception
- Specified by:
activateObject
in interface PoolableObjectFactory
- Throws:
Exception
destroyObject
public void destroyObject(Object object)
throws Exception
- Specified by:
destroyObject
in interface PoolableObjectFactory
- Throws:
Exception
makeObject
public Object makeObject()
throws Exception
- Specified by:
makeObject
in interface PoolableObjectFactory
- Throws:
Exception
passivateObject
public void passivateObject(Object arg0)
throws Exception
- Specified by:
passivateObject
in interface PoolableObjectFactory
- Throws:
Exception
validateObject
public boolean validateObject(Object arg0)
- Specified by:
validateObject
in interface PoolableObjectFactory
afterComponentCreate
protected void afterComponentCreate(Object component)
throws InitialisationException
- Overrides:
afterComponentCreate
in class AbstractProxyFactory
- Throws:
InitialisationException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.