Package org.jboss.ejb3.session

Examples of org.jboss.ejb3.session.SessionSpecContainer.dynamicInvoke()


      copy.getMetaData().addMetaData(IS_LOCAL, IS_LOCAL, Boolean.TRUE, PayloadKey.AS_IS);
      try
      {
         // Invoke upon the container
         SessionContainer sc = (SessionContainer) container;
         InvocationResponse response = sc.dynamicInvoke(copy);
         // it could really have been a copy
         invocation.setResponseContextInfo(response.getContextInfo());
         return marshallOrPass(response.getResponse(), Object.class);
      }
      // TODO: Either Throwable (as it used to be) or Exception (which is better)
View Full Code Here


      copy.getMetaData().addMetaData(IS_LOCAL, IS_LOCAL, Boolean.TRUE, PayloadKey.AS_IS);
      org.jboss.aop.joinpoint.InvocationResponse response = null;

      // Invoke upon the container
      SessionContainer sc = (SessionContainer) container;
      response = sc.dynamicInvoke(copy);
     
      Map contextInfo = response.getContextInfo();
      if (contextInfo != null)
      {
         MarshalledObjectForLocalCalls wrappedException = (MarshalledObjectForLocalCalls) response.getContextInfo().get(IS_LOCAL_EXCEPTION);
View Full Code Here

      copy.getMetaData().addMetaData(IS_LOCAL, IS_LOCAL, Boolean.TRUE, PayloadKey.AS_IS);
      try
      {
         // Invoke upon the container
         SessionContainer sc = (SessionContainer) container;
         InvocationResponse response = sc.dynamicInvoke(copy);
         // it could really have been a copy
         invocation.setResponseContextInfo(response.getContextInfo());
         return marshallOrPass(response.getResponse(), Object.class);
      }
      // TODO: Either Throwable (as it used to be) or Exception (which is better)
View Full Code Here

       * dynamicInvoke(Object,Invocation)
       */
      if (container instanceof SessionSpecContainer)
      {
         SessionSpecContainer ssc = (SessionSpecContainer) container;
         response = ssc.dynamicInvoke(copy);
      }
      else
      {
         response = ((SessionContainer) container).dynamicInvoke(null, copy);
      }
View Full Code Here

       * dynamicInvoke(Object,Invocation)
       */
      if (container instanceof SessionSpecContainer)
      {
         SessionSpecContainer ssc = (SessionSpecContainer) container;
         response = ssc.dynamicInvoke(copy);
      }
      else
      {
         response = ((SessionContainer) container).dynamicInvoke(null, copy);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.