org.apache.openejb.core.singleton
Class SingletonContainer
java.lang.Object
org.apache.openejb.core.singleton.SingletonContainer
- All Implemented Interfaces:
- Container, RpcContainer
public class SingletonContainer
- extends Object
- implements RpcContainer
|
Method Summary |
protected Object |
_invoke(Method callMethod,
Method runMethod,
Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType callType)
|
protected ProxyInfo |
createEJBObject(BeanContext beanContext,
Method callMethod)
|
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)
|
void |
setAccessTimeout(Duration duration)
|
void |
start(BeanContext info)
|
void |
stop(BeanContext info)
|
void |
undeploy(BeanContext beanContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonContainer
public SingletonContainer(Object id,
SecurityService securityService)
throws OpenEJBException
- Throws:
OpenEJBException
setAccessTimeout
public void setAccessTimeout(Duration duration)
getBeanContexts
public BeanContext[] getBeanContexts()
- Specified by:
getBeanContexts in interface Container
getBeanContext
public BeanContext getBeanContext(Object deploymentID)
- Specified by:
getBeanContext in interface Container
getContainerType
public ContainerType getContainerType()
- Specified by:
getContainerType in interface Container
getContainerID
public Object getContainerID()
- Specified by:
getContainerID in interface Container
deploy
public void deploy(BeanContext beanContext)
throws OpenEJBException
- Specified by:
deploy in interface Container
- Throws:
OpenEJBException
start
public void start(BeanContext info)
throws OpenEJBException
- Specified by:
start in interface Container
- Throws:
OpenEJBException
stop
public void stop(BeanContext info)
throws OpenEJBException
- Specified by:
stop in interface Container
- Throws:
OpenEJBException
undeploy
public void undeploy(BeanContext beanContext)
- Specified by:
undeploy in interface Container
invoke
public Object invoke(Object deployID,
InterfaceType type,
Class callInterface,
Method callMethod,
Object[] args,
Object primKey)
throws OpenEJBException
- Specified by:
invoke in interface RpcContainer
- Throws:
OpenEJBException
_invoke
protected Object _invoke(Method callMethod,
Method runMethod,
Object[] args,
Instance instance,
ThreadContext callContext,
InterfaceType callType)
throws OpenEJBException
- Throws:
OpenEJBException
createEJBObject
protected ProxyInfo createEJBObject(BeanContext beanContext,
Method callMethod)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.