public class SingletonContainer extends java.lang.Object implements RpcContainer
| Constructor and Description |
|---|
SingletonContainer(java.lang.Object id,
SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
_invoke(java.lang.reflect.Method callMethod,
java.lang.reflect.Method runMethod,
java.lang.Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType callType) |
protected ProxyInfo |
createEJBObject(BeanContext beanContext,
java.lang.reflect.Method callMethod) |
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) |
void |
setAccessTimeout(Duration duration) |
void |
start(BeanContext info) |
void |
stop(BeanContext info) |
void |
undeploy(BeanContext beanContext) |
public SingletonContainer(java.lang.Object id,
SecurityService securityService)
throws OpenEJBException
OpenEJBExceptionpublic void setAccessTimeout(Duration duration)
public BeanContext[] getBeanContexts()
getBeanContexts in interface Containerpublic BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext in interface Containerpublic ContainerType getContainerType()
getContainerType in interface Containerpublic java.lang.Object getContainerID()
getContainerID in interface Containerpublic void deploy(BeanContext beanContext) throws OpenEJBException
deploy in interface ContainerOpenEJBExceptionpublic void start(BeanContext info) throws OpenEJBException
start in interface ContainerOpenEJBExceptionpublic void stop(BeanContext info) throws OpenEJBException
stop in interface ContainerOpenEJBExceptionpublic void undeploy(BeanContext beanContext)
public 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 java.lang.Object _invoke(java.lang.reflect.Method callMethod,
java.lang.reflect.Method runMethod,
java.lang.Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType callType)
throws OpenEJBException
OpenEJBExceptionprotected ProxyInfo createEJBObject(BeanContext beanContext, java.lang.reflect.Method callMethod)