org.apache.openejb.core
Class RpcContainerWrapper

java.lang.Object
  extended by org.apache.openejb.core.RpcContainerWrapper
All Implemented Interfaces:
Container, TransactionContainer, RpcContainer

public class RpcContainerWrapper
extends Object
implements RpcContainer, TransactionContainer


Constructor Summary
RpcContainerWrapper(RpcContainer container)
           
 
Method Summary
 void deploy(DeploymentInfo info)
           
 DeploymentInfo[] deployments()
           
 void discardInstance(Object instance, ThreadContext context)
           
 RpcContainer getContainer()
           
 Object getContainerID()
           
 ContainerType getContainerType()
           
 DeploymentInfo getDeploymentInfo(Object deploymentID)
           
 Object invoke(Object deployID, Class callInterface, Method callMethod, Object[] args, Object primKey)
           
 Object invoke(Object deployID, Method callMethod, Object[] args, Object primKey, Object securityIdentity)
           
 void undeploy(DeploymentInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcContainerWrapper

public RpcContainerWrapper(RpcContainer container)
Method Detail

invoke

public Object invoke(Object deployID,
                     Method callMethod,
                     Object[] args,
                     Object primKey,
                     Object securityIdentity)
              throws OpenEJBException
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

getContainerType

public ContainerType getContainerType()
Specified by:
getContainerType in interface Container

getContainerID

public Object getContainerID()
Specified by:
getContainerID in interface Container

getDeploymentInfo

public DeploymentInfo getDeploymentInfo(Object deploymentID)
Specified by:
getDeploymentInfo in interface Container

deployments

public DeploymentInfo[] deployments()
Specified by:
deployments 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)
              throws OpenEJBException
Specified by:
undeploy in interface Container
Throws:
OpenEJBException

discardInstance

public void discardInstance(Object instance,
                            ThreadContext context)
Specified by:
discardInstance in interface TransactionContainer

getContainer

public RpcContainer getContainer()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.