org.mule.config.pool
Class AbstractProxyFactory

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

public abstract class AbstractProxyFactory
extends java.lang.Object
implements ObjectFactory

AbstractProxyFactory provides common behaviour for creating proxy objects

Version:
$Revision: 1.4 $
Author:
Ross Mason

Field Summary
protected  MuleDescriptor descriptor
          The UMODescriptor used to create new components in the pool
protected  ObjectPool pool
           
 
Constructor Summary
AbstractProxyFactory(MuleDescriptor descriptor, ObjectPool pool)
          Creates a pool factory using the descriptor as the basis for creating its objects
 
Method Summary
protected  void afterComponentCreate(java.lang.Object component)
           
 java.lang.Object create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptor

protected MuleDescriptor descriptor
The UMODescriptor used to create new components in the pool


pool

protected ObjectPool pool
Constructor Detail

AbstractProxyFactory

public AbstractProxyFactory(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

create

public java.lang.Object create()
                        throws UMOException
Specified by:
create in interface ObjectFactory
Throws:
UMOException

afterComponentCreate

protected void afterComponentCreate(java.lang.Object component)
                             throws InitialisationException
Throws:
InitialisationException


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