|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ejb.embeddable.EJBContainer
public abstract class EJBContainer
Used to execute an EJB application in an embeddable container.
Field Summary | |
---|---|
static java.lang.String |
APP_NAME
Standard property name for specifying the application name of the EJB modules executing within the embeddable container. |
static java.lang.String |
MODULES
Standard property name for specifying the set of modules to be initialized. |
static java.lang.String |
PROVIDER
Standard property name for specifying the embeddable container implementation bootstrap class. |
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(java.util.Map<?,?> properties)
Create and initialize an embeddable EJB container with a set of configuration properties. |
abstract javax.naming.Context |
getContext()
Retrieve a naming context for looking up references to session beans executing in the embeddable container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROVIDER
public static final java.lang.String MODULES
public static final java.lang.String APP_NAME
Constructor Detail |
---|
public EJBContainer()
Method Detail |
---|
public static EJBContainer createEJBContainer()
EJBException
- Thrown if the container or application
could not be successfully initialized.public static EJBContainer createEJBContainer(java.util.Map<?,?> properties)
properties
- Spec-defined and/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.public abstract javax.naming.Context getContext()
public abstract void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34