Package com.sun.ejb.containers.util.pool
Interface ObjectFactory
-
- All Known Implementing Classes:
AbstractSingletonContainer.SingletonContextFactory,StatelessSessionContainer.SessionContextFactory
public interface ObjectFactoryAn object factory that 'knows' how to create / destroy objects
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectcreate(Object param)Create an object.voiddestroy(Object object)Destroy an object.
-
-
-
Method Detail
-
create
Object create(Object param) throws PoolException
Create an object. Called from Pool.getObject(param)- Throws:
PoolException
-
destroy
void destroy(Object object)
Destroy an object. Called from Pool.destroyObject.
-
-