org.mule.config.pool
Class CommonsPoolProxyFactory
java.lang.Object
org.mule.config.pool.AbstractProxyFactory
org.mule.config.pool.CommonsPoolProxyFactory
- All Implemented Interfaces:
- ObjectFactory
- Direct Known Subclasses:
- OptimisedProxyFactory
- public class CommonsPoolProxyFactory
- extends AbstractProxyFactory
CommonsPoolProxyFactory is used to create MuleProxies for use in a
proxy pool. This is a jakarta commons-pool implementation.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsPoolProxyFactory
public CommonsPoolProxyFactory(MuleDescriptor descriptor)
- 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
- Throws:
Exception
destroyObject
public void destroyObject(Object object)
throws Exception
- Throws:
Exception
makeObject
public Object makeObject()
throws Exception
- Throws:
Exception
passivateObject
public void passivateObject(Object arg0)
throws Exception
- Throws:
Exception
validateObject
public boolean validateObject(Object arg0)
afterComponentCreate
protected void afterComponentCreate(Object component)
throws InitialisationException
- Overrides:
afterComponentCreate in class AbstractProxyFactory
- Throws:
InitialisationException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.