org.apache.openejb.core.stateless
Class StatelessContainer
java.lang.Object
org.apache.openejb.core.stateless.StatelessContainer
- All Implemented Interfaces:
- Container, TransactionContainer, RpcContainer
public class StatelessContainer
- extends Object
- implements RpcContainer, TransactionContainer
Method Summary |
protected Object |
_invoke(Class callInterface,
Method callMethod,
Method runMethod,
Object[] args,
Instance instance,
ThreadContext callContext)
|
protected Object |
_invoke(Class callInterface,
Method callMethod,
Method runMethod,
Object[] args,
Object object,
ThreadContext callContext)
Deprecated. use type-safe _invoke(Class, java.lang.reflect.Method, java.lang.reflect.Method, Object[], Instance, org.apache.openejb.core.ThreadContext) |
protected ProxyInfo |
createEJBObject(CoreDeploymentInfo deploymentInfo,
Method callMethod)
|
void |
deploy(DeploymentInfo info)
|
DeploymentInfo[] |
deployments()
|
void |
discardInstance(Object instance,
ThreadContext context)
|
Object |
getContainerID()
|
ContainerType |
getContainerType()
|
DeploymentInfo |
getDeploymentInfo(Object deploymentID)
|
StatelessInstanceManager |
getInstanceManager()
|
Object |
invoke(Object deployID,
Class callInterface,
Method callMethod,
Object[] args,
Object primKey)
|
Object |
invoke(Object deployID,
Method callMethod,
Object[] args,
Object primKey,
Object securityIdentity)
Deprecated. use invoke signature without 'securityIdentity' argument. |
void |
undeploy(DeploymentInfo info)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatelessContainer
public StatelessContainer(Object id,
TransactionManager transactionManager,
SecurityService securityService,
int timeOut,
int poolSize,
boolean strictPooling)
throws OpenEJBException
- Throws:
OpenEJBException
deployments
public DeploymentInfo[] deployments()
- Specified by:
deployments
in interface Container
getDeploymentInfo
public DeploymentInfo getDeploymentInfo(Object deploymentID)
- Specified by:
getDeploymentInfo
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(DeploymentInfo info)
throws OpenEJBException
- Specified by:
deploy
in interface Container
- Throws:
OpenEJBException
undeploy
public void undeploy(DeploymentInfo info)
- Specified by:
undeploy
in interface Container
invoke
public Object invoke(Object deployID,
Method callMethod,
Object[] args,
Object primKey,
Object securityIdentity)
throws OpenEJBException
- Deprecated. use invoke signature without 'securityIdentity' argument.
- Specified by:
invoke
in interface RpcContainer
- Throws:
OpenEJBException
invoke
public Object invoke(Object deployID,
Class callInterface,
Method callMethod,
Object[] args,
Object primKey)
throws OpenEJBException
- Specified by:
invoke
in interface RpcContainer
- Throws:
OpenEJBException
getInstanceManager
public StatelessInstanceManager getInstanceManager()
_invoke
protected Object _invoke(Class callInterface,
Method callMethod,
Method runMethod,
Object[] args,
Object object,
ThreadContext callContext)
throws OpenEJBException
- Deprecated. use type-safe
_invoke(Class, java.lang.reflect.Method, java.lang.reflect.Method, Object[], Instance, org.apache.openejb.core.ThreadContext)
- Throws:
OpenEJBException
_invoke
protected Object _invoke(Class callInterface,
Method callMethod,
Method runMethod,
Object[] args,
Instance instance,
ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
createEJBObject
protected ProxyInfo createEJBObject(CoreDeploymentInfo deploymentInfo,
Method callMethod)
discardInstance
public void discardInstance(Object instance,
ThreadContext context)
- Specified by:
discardInstance
in interface TransactionContainer
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.