org.mule.config.pool
Class CommonsPoolProxyFactory

java.lang.Object
  extended byorg.mule.config.pool.AbstractProxyFactory
      extended byorg.mule.config.pool.CommonsPoolProxyFactory
All Implemented Interfaces:
ObjectFactory

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: 1.1.1.1 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.config.pool.AbstractProxyFactory
descriptor, pool
 
Constructor Summary
CommonsPoolProxyFactory(MuleDescriptor descriptor, ObjectPool pool)
          Creates a pool factory using the descriptor as the basis for creating its objects
 
Method Summary
 void activateObject(java.lang.Object arg0)
           
protected  void afterComponentCreate(java.lang.Object component)
           
 void destroyObject(java.lang.Object object)
           
 java.lang.Object makeObject()
           
 void passivateObject(java.lang.Object arg0)
           
 boolean validateObject(java.lang.Object arg0)
           
 
Methods inherited from class org.mule.config.pool.AbstractProxyFactory
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsPoolProxyFactory

public CommonsPoolProxyFactory(MuleDescriptor descriptor,
                               ObjectPool pool)
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
Method Detail

activateObject

public void activateObject(java.lang.Object arg0)
                    throws java.lang.Exception
Throws:
java.lang.Exception

destroyObject

public void destroyObject(java.lang.Object object)
                   throws java.lang.Exception
Throws:
java.lang.Exception

makeObject

public java.lang.Object makeObject()
                            throws java.lang.Exception
Throws:
java.lang.Exception

passivateObject

public void passivateObject(java.lang.Object arg0)
                     throws java.lang.Exception
Throws:
java.lang.Exception

validateObject

public boolean validateObject(java.lang.Object arg0)

afterComponentCreate

protected void afterComponentCreate(java.lang.Object component)
                             throws InitialisationException
Overrides:
afterComponentCreate in class AbstractProxyFactory
Throws:
InitialisationException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.