|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ejb.EJBContainer
public abstract class EJBContainer
Used to execute an EJB application in an embeddable container.
| Field Summary | |
|---|---|
static String |
EMBEDDABLE_APP_NAME_PROPERTY
|
static String |
EMBEDDABLE_INITIAL
Deprecated. |
static String |
EMBEDDABLE_INITIAL_PROPERTY
|
static String |
EMBEDDABLE_MODULES_PROPERTY
|
| Constructor Summary | |
|---|---|
EJBContainer()
|
|
| Method Summary | |
|---|---|
abstract void |
close()
Shutdown an embeddable EJBContainer instance. |
static EJBContainer |
createEJBContainer()
Create and initialize an embeddable EJB container. |
static EJBContainer |
createEJBContainer(Map<?,?> properties)
Create and initialize an embeddable EJB container with an set of configuration properties and names of modules to be initialized. |
Context |
getContext()
Retrieve a naming context for looking up references to session beans executing in the embeddable container. |
static EJBContainer |
getCurrentEJBContainer()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EMBEDDABLE_APP_NAME_PROPERTY
public static final String EMBEDDABLE_INITIAL_PROPERTY
@Deprecated public static final String EMBEDDABLE_INITIAL
public static final String EMBEDDABLE_MODULES_PROPERTY
| Constructor Detail |
|---|
public EJBContainer()
| Method Detail |
|---|
public abstract void close()
public static EJBContainer createEJBContainer()
throws EJBException
EJBException - Thrown if the container or application could not
be successfully initialized.
public static EJBContainer createEJBContainer(Map<?,?> properties)
throws EJBException
properties - One or more spec-defined or vendor-specific properties.
The spec reserves the prefix "javax.ejb." for spec-defined properties.
EJBException - Thrown if the container or application could not
be successfully initialized.@Deprecated public static EJBContainer getCurrentEJBContainer()
public Context getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||