org.apache.avalon.excalibur.pool
Interface ObjectFactory

All Superinterfaces:
Component
All Known Implementing Classes:
DefaultObjectFactory

public interface ObjectFactory
extends Component

This is the interface for factory that is used to create objects for Pool.

Since:
4.0
Version:
CVS $Revision: 1.2 $ $Date: 2003/02/20 17:09:24 $
Author:
Berin Loritsch, Stefano Mazzocchi, Peter Donald

Method Summary
 void decommission(Object object)
           
 Class getCreatedClass()
           
 Object newInstance()
           
 

Method Detail

newInstance

public Object newInstance()
                   throws Exception
Exception

getCreatedClass

public Class getCreatedClass()

decommission

public void decommission(Object object)
                  throws Exception
Exception


Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved.