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(java.lang.Object object)
           
 java.lang.Class getCreatedClass()
           
 java.lang.Object newInstance()
           
 

Method Detail

newInstance

java.lang.Object newInstance()
                             throws java.lang.Exception
Throws:
java.lang.Exception

getCreatedClass

java.lang.Class getCreatedClass()

decommission

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


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