org.apache.tomee.catalina
Class TomcatJndiSupport

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

public class TomcatJndiSupport
extends RpcContainerWrapper


Field Summary
static Map<Object,Context> contexts
           
 
Constructor Summary
TomcatJndiSupport(RpcContainer container)
           
 
Method Summary
 void bindContext(Object name, Context context)
           
 void bindThread(Object name)
           
 void deploy(BeanContext beanContext)
           
 void init(Object containerId, HashMap deployments, Properties properties)
           
 Object invoke(Object deployID, Method callMethod, Object[] args, Object primKey, Object securityIdentity)
           
 void unbindThread(Object name)
           
 
Methods inherited from class org.apache.openejb.core.RpcContainerWrapper
getBeanContext, getBeanContexts, getContainer, getContainerID, getContainerType, invoke, invoke, start, stop, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contexts

public static Map<Object,Context> contexts
Constructor Detail

TomcatJndiSupport

public TomcatJndiSupport(RpcContainer container)
                  throws OpenEJBException
Throws:
OpenEJBException
Method Detail

init

public void init(Object containerId,
                 HashMap deployments,
                 Properties properties)
          throws OpenEJBException
Throws:
OpenEJBException

deploy

public void deploy(BeanContext beanContext)
            throws OpenEJBException
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
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-2012 The Apache Software Foundation. All Rights Reserved.