com.sun.ejb.containers
Class AbstractSingletonContainer.SingletonContextFactory

java.lang.Object
  extended by com.sun.ejb.containers.AbstractSingletonContainer.SingletonContextFactory
All Implemented Interfaces:
ObjectFactory
Enclosing class:
AbstractSingletonContainer

protected class AbstractSingletonContainer.SingletonContextFactory
extends Object
implements ObjectFactory


Constructor Summary
protected AbstractSingletonContainer.SingletonContextFactory()
           
 
Method Summary
 Object create(Object param)
          Create an object.
 void destroy(Object obj)
          Destroy an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSingletonContainer.SingletonContextFactory

protected AbstractSingletonContainer.SingletonContextFactory()
Method Detail

create

public Object create(Object param)
Description copied from interface: ObjectFactory
Create an object. Called from Pool.getObject(param)

Specified by:
create in interface ObjectFactory

destroy

public void destroy(Object obj)
Description copied from interface: ObjectFactory
Destroy an object. Called from Pool.destroyObject.

Specified by:
destroy in interface ObjectFactory


Copyright © 2012 GlassFish Community. All Rights Reserved.