org.mule.config.pool
Class AbstractProxyFactory
java.lang.Object
org.mule.config.pool.AbstractProxyFactory
- All Implemented Interfaces:
- ObjectFactory
- Direct Known Subclasses:
- CommonsPoolProxyFactory
- public abstract class AbstractProxyFactory
- extends Object
- implements ObjectFactory
AbstractProxyFactory
provides common behaviour for creating proxy
objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
protected MuleDescriptor descriptor
- The UMODescriptor used to create new components in the pool
model
protected UMOModel model
pool
protected ObjectPool pool
AbstractProxyFactory
public AbstractProxyFactory(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:
UMODescriptor
create
public Object create()
throws UMOException
- Specified by:
create
in interface ObjectFactory
- Throws:
UMOException
createProxy
protected Object createProxy(Object component)
throws UMOException
- Throws:
UMOException
afterComponentCreate
protected void afterComponentCreate(Object component)
throws InitialisationException
- Throws:
InitialisationException
getPool
public ObjectPool getPool()
setPool
public void setPool(ObjectPool pool)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.