org.apache.avalon.excalibur.pool
Interface ObjectFactory


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

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

Method Detail

newInstance

Object newInstance()
                   throws Exception
Throws:
Exception

getCreatedClass

Class getCreatedClass()

decommission

void decommission(Object object)
                  throws Exception
Throws:
Exception


Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.