org.apache.avalon.excalibur.pool
Interface ObjectFactory
- All Known Implementing Classes:
- DefaultComponentFactory, DefaultObjectFactory, DefaultThreadPool, InstrumentedResourceLimitingThreadPool, JdbcConnectionFactory, ResourceLimitingThreadPool
- public interface ObjectFactory
This is the interface for factory that is used to create objects for Pool.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.6 $ $Date: 2004/03/29 16:50:36 $
- Author:
- Avalon Development Team
newInstance
public java.lang.Object newInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCreatedClass
public java.lang.Class getCreatedClass()
decommission
public void decommission(java.lang.Object object)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.