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
OpenEJBException
public void setAccessTimeout(Duration duration)
public BeanContext[] getBeanContexts()
getBeanContexts
in interface Container
public BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext
in interface Container
public ContainerType getContainerType()
getContainerType
in interface Container
public java.lang.Object getContainerID()
getContainerID
in interface Container
public void deploy(BeanContext beanContext) throws OpenEJBException
deploy
in interface Container
OpenEJBException
public void start(BeanContext info) throws OpenEJBException
start
in interface Container
OpenEJBException
public void stop(BeanContext info) throws OpenEJBException
stop
in interface Container
OpenEJBException
public 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 RpcContainer
OpenEJBException
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) throws OpenEJBException
OpenEJBException
protected ProxyInfo createEJBObject(BeanContext beanContext, java.lang.reflect.Method callMethod)