public final class OpenEjbContainer extends EJBContainer
EJBContainer
implementation based
on OpenEJB container.Modifier and Type | Class and Description |
---|---|
static class |
OpenEjbContainer.AssembleApplicationException |
static class |
OpenEjbContainer.ConfigureApplicationException |
static class |
OpenEjbContainer.InitializationException |
static class |
OpenEjbContainer.InvalidApplicationException |
static class |
OpenEjbContainer.InvalidModulesPropertyException |
static class |
OpenEjbContainer.NoModulesFoundException |
static class |
OpenEjbContainer.NoSuchModuleException |
static class |
OpenEjbContainer.Provider |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENEJB_EJBCONTAINER_CLOSE |
static java.lang.String |
OPENEJB_EJBCONTAINER_CLOSE_SINGLE |
static java.lang.String |
OPENEJB_EMBEDDED_REMOTABLE |
APP_NAME, MODULES, PROVIDER
Modifier and Type | Method and Description |
---|---|
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.
|
createEJBContainer, createEJBContainer
public static final java.lang.String OPENEJB_EMBEDDED_REMOTABLE
public static final java.lang.String OPENEJB_EJBCONTAINER_CLOSE
public static final java.lang.String OPENEJB_EJBCONTAINER_CLOSE_SINGLE
public void close()
EJBContainer
close()
in order to free up the resources
associated with the embeddable container.close
in interface java.lang.AutoCloseable
close
in class EJBContainer
public javax.naming.Context getContext()
EJBContainer
getContext
in class EJBContainer