org.openejb.tomcat
Class TomcatJndiSupport

java.lang.Object
  extended byorg.openejb.core.RpcContainerWrapper
      extended byorg.openejb.tomcat.TomcatJndiSupport
All Implemented Interfaces:
Container, RpcContainer, TransactionContainer

public class TomcatJndiSupport
extends RpcContainerWrapper

Version:
$Revision: 2106 $ $Date: 2005-08-26 14:04:51 -0700 (Fri, 26 Aug 2005) $

Field Summary
static Map contexts
           
 
Fields inherited from interface org.openejb.Container
ENTITY, MESSAGE_DRIVEN, STATEFUL, STATELESS
 
Constructor Summary
TomcatJndiSupport(RpcContainer container)
           
 
Method Summary
 void bindContext(Object name, Context context)
           
 void bindThread(Object name)
           
 void deploy(Object deploymentID, DeploymentInfo info)
          Adds a bean to this container.
 void init(Object containerId, HashMap deployments, Properties properties)
          This method is used to initalized a new container with its name, deployments and properties.
 Object invoke(Object deployID, Method callMethod, Object[] args, Object primKey, Object securityIdentity)
          Invokes a method on an instance of the specified bean deployment.
 void unbindThread(Object name)
           
 
Methods inherited from class org.openejb.core.RpcContainerWrapper
deployments, discardInstance, getContainer, getContainerID, getContainerType, getDeploymentInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contexts

public static Map contexts
Constructor Detail

TomcatJndiSupport

public TomcatJndiSupport(RpcContainer container)
                  throws OpenEJBException
Method Detail

init

public void init(Object containerId,
                 HashMap deployments,
                 Properties properties)
          throws OpenEJBException
Description copied from interface: Container
This method is used to initalized a new container with its name, deployments and properties. this method is invoked by the assembler and will throw an exception if invoked after the container is assembled.

Specified by:
init in interface Container
Overrides:
init in class RpcContainerWrapper
Throws:
OpenEJBException

deploy

public void deploy(Object deploymentID,
                   DeploymentInfo info)
            throws OpenEJBException
Description copied from interface: Container
Adds a bean to this container.

Specified by:
deploy in interface Container
Overrides:
deploy in class RpcContainerWrapper
Throws:
OpenEJBException

invoke

public Object invoke(Object deployID,
                     Method callMethod,
                     Object[] args,
                     Object primKey,
                     Object securityIdentity)
              throws OpenEJBException
Description copied from interface: RpcContainer
Invokes a method on an instance of the specified bean deployment.

Specified by:
invoke in interface RpcContainer
Overrides:
invoke in class RpcContainerWrapper
Throws:
OpenEJBException

bindContext

public void bindContext(Object name,
                        Context context)

bindThread

public void bindThread(Object name)

unbindThread

public void unbindThread(Object name)


Copyright © 1999-2007 OpenEJB. All Rights Reserved.