public class ManagedContainer extends java.lang.Object implements RpcContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedContainer.MethodType |
class |
ManagedContainer.StatefulCacheListener |
| Modifier and Type | Field and Description |
|---|---|
protected Cache<java.lang.Object,Instance> |
cache |
protected java.util.Map<java.lang.Object,BeanContext> |
deploymentsById
Index used for getDeployments() and getDeploymentInfo(deploymentId).
|
protected JtaEntityManagerRegistry |
entityManagerRegistry |
| Constructor and Description |
|---|
ManagedContainer(java.lang.Object id,
SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
businessMethod(BeanContext beanContext,
java.lang.Object primKey,
java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
InterfaceType interfaceType) |
protected ProxyInfo |
createEJBObject(BeanContext beanContext,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
InterfaceType interfaceType) |
void |
deploy(BeanContext beanContext) |
BeanContext |
getBeanContext(java.lang.Object deploymentID) |
BeanContext[] |
getBeanContexts() |
java.lang.Object |
getContainerID() |
ContainerType |
getContainerType() |
java.lang.Object |
invoke(java.lang.Object deployID,
InterfaceType type,
java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
java.lang.Object primKey) |
protected java.lang.Object |
newPrimaryKey() |
protected java.lang.Object |
removeEJBObject(BeanContext beanContext,
java.lang.Object primKey,
java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
InterfaceType interfaceType) |
void |
start(BeanContext beanContext) |
void |
stop(BeanContext beanContext) |
void |
undeploy(BeanContext bean) |
protected final JtaEntityManagerRegistry entityManagerRegistry
protected final java.util.Map<java.lang.Object,BeanContext> deploymentsById
public ManagedContainer(java.lang.Object id,
SecurityService securityService)
throws SystemException
SystemExceptionpublic ContainerType getContainerType()
getContainerType in interface Containerpublic java.lang.Object getContainerID()
getContainerID in interface Containerpublic BeanContext[] getBeanContexts()
getBeanContexts in interface Containerpublic BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext in interface Containerpublic void start(BeanContext beanContext) throws OpenEJBException
start in interface ContainerOpenEJBExceptionpublic void stop(BeanContext beanContext) throws OpenEJBException
stop in interface ContainerOpenEJBExceptionpublic void undeploy(BeanContext bean) throws OpenEJBException
undeploy in interface ContainerOpenEJBExceptionpublic void deploy(BeanContext beanContext) throws OpenEJBException
deploy in interface ContainerOpenEJBExceptionpublic java.lang.Object invoke(java.lang.Object deployID,
InterfaceType type,
java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
java.lang.Object primKey)
throws OpenEJBException
invoke in interface RpcContainerOpenEJBExceptionprotected ProxyInfo createEJBObject(BeanContext beanContext, java.lang.reflect.Method callMethod, java.lang.Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBExceptionprotected java.lang.Object newPrimaryKey()
protected java.lang.Object removeEJBObject(BeanContext beanContext, java.lang.Object primKey, java.lang.Class callInterface, java.lang.reflect.Method callMethod, java.lang.Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBExceptionprotected java.lang.Object businessMethod(BeanContext beanContext, java.lang.Object primKey, java.lang.Class callInterface, java.lang.reflect.Method callMethod, java.lang.Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBException