public class ManagedContainer extends Object implements RpcContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedContainer.MethodType |
class |
ManagedContainer.StatefulCacheListener |
| Modifier and Type | Field and Description |
|---|---|
protected Cache<Object,Instance> |
cache |
protected Map<Object,BeanContext> |
deploymentsById
Index used for getDeployments() and getDeploymentInfo(deploymentId).
|
protected JtaEntityManagerRegistry |
entityManagerRegistry |
| Constructor and Description |
|---|
ManagedContainer(Object id,
SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
businessMethod(BeanContext beanContext,
Object primKey,
Class callInterface,
Method callMethod,
Object[] args,
InterfaceType interfaceType) |
protected ProxyInfo |
createEJBObject(BeanContext beanContext,
Method callMethod,
Object[] args,
InterfaceType interfaceType) |
void |
deploy(BeanContext beanContext) |
BeanContext |
getBeanContext(Object deploymentID) |
BeanContext[] |
getBeanContexts() |
Object |
getContainerID() |
ContainerType |
getContainerType() |
Object |
invoke(Object deployID,
InterfaceType type,
Class callInterface,
Method callMethod,
Object[] args,
Object primKey) |
protected Object |
newPrimaryKey() |
protected Object |
removeEJBObject(BeanContext beanContext,
Object primKey,
Class callInterface,
Method callMethod,
Object[] args,
InterfaceType interfaceType) |
void |
start(BeanContext beanContext) |
void |
stop(BeanContext beanContext) |
void |
undeploy(BeanContext bean) |
protected final JtaEntityManagerRegistry entityManagerRegistry
protected final Map<Object,BeanContext> deploymentsById
public ManagedContainer(Object id, SecurityService securityService) throws SystemException
SystemExceptionpublic ContainerType getContainerType()
getContainerType in interface Containerpublic Object getContainerID()
getContainerID in interface Containerpublic BeanContext[] getBeanContexts()
getBeanContexts in interface Containerpublic BeanContext getBeanContext(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 Object invoke(Object deployID, InterfaceType type, Class callInterface, Method callMethod, Object[] args, Object primKey) throws OpenEJBException
invoke in interface RpcContainerOpenEJBExceptionprotected ProxyInfo createEJBObject(BeanContext beanContext, Method callMethod, Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBExceptionprotected Object newPrimaryKey()
protected Object removeEJBObject(BeanContext beanContext, Object primKey, Class callInterface, Method callMethod, Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBExceptionprotected Object businessMethod(BeanContext beanContext, Object primKey, Class callInterface, Method callMethod, Object[] args, InterfaceType interfaceType) throws OpenEJBException
OpenEJBExceptionCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.