Package org.jboss.jca.spi

Examples of org.jboss.jca.spi.ComponentStack


  
   public Object invoke(Invocation invocation) throws Throwable
   {
      EJBContainerInvocation<EJBContainer, BeanContext<?>> containerInvocation = (EJBContainerInvocation<EJBContainer, BeanContext<?>>) invocation;
      EJBContainer container = getEJBContainer(invocation);
      ComponentStack ccm = container.getCachedConnectionManager();
      if(ccm == null)
      {
         log.warn("EJBTHREE-1028: No ejb3 CachedConnectionManager installed");
         return containerInvocation.invokeNext();
      }
      Object key = containerInvocation.getBeanContext().getInstance();
      ccm.pushMetaAwareObject(key, unsharableResources);
      try
      {
         return containerInvocation.invokeNext();
      }
      finally
      {
         ccm.popMetaAwareObject(unsharableResources);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.jca.spi.ComponentStack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.