javax.ejb.embeddable
Class EJBContainer

java.lang.Object
  extended by javax.ejb.embeddable.EJBContainer
Direct Known Subclasses:
EJBContainerImpl

public abstract class EJBContainer
extends java.lang.Object

The main ejb context.


Field Summary
static java.lang.String APP_NAME
           
static java.lang.String MODULES
           
static java.lang.String PROVIDER
           
 
Constructor Summary
EJBContainer()
           
 
Method Summary
abstract  void close()
           
static EJBContainer createEJBContainer()
           
static EJBContainer createEJBContainer(java.util.Map<?,?> properties)
           
abstract  javax.naming.Context getContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final java.lang.String APP_NAME
See Also:
Constant Field Values

MODULES

public static final java.lang.String MODULES
See Also:
Constant Field Values

PROVIDER

public static final java.lang.String PROVIDER
See Also:
Constant Field Values
Constructor Detail

EJBContainer

public EJBContainer()
Method Detail

createEJBContainer

public static EJBContainer createEJBContainer()
                                       throws EJBException
Throws:
EJBException

createEJBContainer

public static EJBContainer createEJBContainer(java.util.Map<?,?> properties)
                                       throws EJBException
Throws:
EJBException

getContext

public abstract javax.naming.Context getContext()

close

public abstract void close()