Keel 2.1RC2

org.apache.avalon.excalibur.pool.test
Class ClassInstanceObjectFactory

java.lang.Object
  extended byorg.apache.avalon.excalibur.pool.test.ClassInstanceObjectFactory
All Implemented Interfaces:
ObjectFactory

public class ClassInstanceObjectFactory
extends java.lang.Object
implements ObjectFactory

Since:
4.1
Version:
CVS $Revision: 1.5 $ $Date: 2004/03/29 16:50:37 $
Author:

Field Summary
private  java.lang.Class m_clazz
           
private  int m_id
           
private  java.util.HashMap m_instances
           
private  Logger m_logger
           
 
Constructor Summary
ClassInstanceObjectFactory(java.lang.Class clazz, Logger logger)
          Creates a reproducable log of activity in the provided StringBuffer
 
Method Summary
 void decommission(java.lang.Object object)
           
 java.lang.Class getCreatedClass()
           
 java.lang.Object newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_instances

private java.util.HashMap m_instances

m_logger

private Logger m_logger

m_clazz

private java.lang.Class m_clazz

m_id

private int m_id
Constructor Detail

ClassInstanceObjectFactory

public ClassInstanceObjectFactory(java.lang.Class clazz,
                                  Logger logger)
Creates a reproducable log of activity in the provided StringBuffer

Method Detail

newInstance

public java.lang.Object newInstance()
                             throws java.lang.Exception
Specified by:
newInstance in interface ObjectFactory
Throws:
java.lang.Exception

getCreatedClass

public java.lang.Class getCreatedClass()
Specified by:
getCreatedClass in interface ObjectFactory

decommission

public void decommission(java.lang.Object object)
                  throws java.lang.Exception
Specified by:
decommission in interface ObjectFactory
Throws:
java.lang.Exception

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.