Package com.sun.ejb.containers
Class AbstractSingletonContainer.SingletonContextFactory
- java.lang.Object
-
- com.sun.ejb.containers.AbstractSingletonContainer.SingletonContextFactory
-
- All Implemented Interfaces:
ObjectFactory
- Enclosing class:
- AbstractSingletonContainer
protected class AbstractSingletonContainer.SingletonContextFactory extends Object implements ObjectFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSingletonContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate(Object param)Create an object.voiddestroy(Object obj)Destroy an object.
-
-
-
Method Detail
-
create
public Object create(Object param)
Description copied from interface:ObjectFactoryCreate an object. Called from Pool.getObject(param)- Specified by:
createin interfaceObjectFactory
-
destroy
public void destroy(Object obj)
Description copied from interface:ObjectFactoryDestroy an object. Called from Pool.destroyObject.- Specified by:
destroyin interfaceObjectFactory
-
-