org.glassfish.ejb.embedded
Class EJBContainerImpl

java.lang.Object
  extended by javax.ejb.embeddable.EJBContainer
      extended by org.glassfish.ejb.embedded.EJBContainerImpl

public class EJBContainerImpl
extends EJBContainer

GlassFish implementation of the EJBContainer.

Author:
Marina Vatkina

Field Summary
 
Fields inherited from class javax.ejb.embeddable.EJBContainer
APP_NAME, MODULES, PROVIDER
 
Method Summary
 void close()
          Shutdown an embeddable EJBContainer instance.
 javax.naming.Context getContext()
          Retrieve a naming context for looking up references to session beans executing in the embeddable container.
 
Methods inherited from class javax.ejb.embeddable.EJBContainer
createEJBContainer, createEJBContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public javax.naming.Context getContext()
Retrieve a naming context for looking up references to session beans executing in the embeddable container.

Specified by:
getContext in class EJBContainer
Returns:
naming context

close

public void close()
Shutdown an embeddable EJBContainer instance.

Specified by:
close in class EJBContainer


Copyright © 2012 GlassFish Community. All Rights Reserved.