Package org.jboss.ejb3.core.context

Examples of org.jboss.ejb3.core.context.SessionInvocationContextAdapter


         Kernel sanders = this.kernel;
         assert sanders != null : Kernel.class.getSimpleName() + " must be provided in order to bind "
               + Ejb3Registrar.class.getSimpleName();

         // Create an EJB3 Registrar
         Ejb3Registrar registrar = new Ejb3McRegistrar(sanders);

         // Bind Registrar to the Locator
         Ejb3RegistrarLocator.bindRegistrar(registrar);
        
         // Log
View Full Code Here


      {
         SessionProxyInvocationHandler handler = (SessionProxyInvocationHandler) Proxy.getInvocationHandler(reference);
         id = (Serializable) handler.getTarget();
      }

      @Deprecated
      Ejb3Registrar registrar = Ejb3RegistrarLocator.locateRegistrar();

      // Get the resolver
      EndpointResolver resolver = registrar.lookup(MC_BIND_NAME_ENDPOINT_RESOLVER, EndpointResolver.class);
      this.ejbClassName = descriptor.getBeanClass().getSimpleName();
      endpointMcBindName = resolver.resolve(deploymentUnit, ejbClassName);
      this.stateful = descriptor.isStateful();
   }
View Full Code Here

      }
   }

   private Endpoint getEndpoint()
   {
      @Deprecated
      Ejb3Registrar registrar = Ejb3RegistrarLocator.locateRegistrar();
      return registrar.lookup(endpointMcBindName, Endpoint.class);
   }
View Full Code Here

         Kernel sanders = this.kernel;
         assert sanders != null : Kernel.class.getSimpleName() + " must be provided in order to bind "
               + Ejb3Registrar.class.getSimpleName();

         // Create an EJB3 Registrar
         Ejb3Registrar registrar = new Ejb3McRegistrar(sanders);

         // Bind Registrar to the Locator
         Ejb3RegistrarLocator.bindRegistrar(registrar);
        
         // Log
View Full Code Here

         Method unadvisedMethod, Advisor advisor, Object id, Class<?> invokedBusinessInterface,
         final ExecutorService asyncExecutor, final AsyncCancellableContext asyncCancellableContext)
   {
      super(interceptors, methodHash, advisedMethod, unadvisedMethod, advisor);
      this.id = id;
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this, asyncExecutor,asyncCancellableContext);
      this.asyncCancellableContext = asyncCancellableContext;
   }
View Full Code Here

   public StatefulContainerInvocation(MethodInfo info, Object id, Class<?> invokedBusinessInterface,
         final ExecutorService asyncExecutor, final AsyncCancellableContext asyncCancellableContext)
   {
      super(info);
      this.id = id;
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this, asyncExecutor,
            asyncCancellableContext);
      this.asyncCancellableContext = asyncCancellableContext;
   }
View Full Code Here

   private SessionInvocationContext invocationContext;

   public SessionContainerInvocation(Class<?> invokedBusinessInterface, MethodInfo info)
   {
      super(info);
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this);
   }
View Full Code Here

   private SessionInvocationContextAdapter invocationContext;

   public SessionContainerInvocation(Class<?> invokedBusinessInterface, MethodInfo info)
   {
      super(info);
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this);
   }
View Full Code Here

   public StatefulContainerInvocation(Interceptor[] interceptors, long methodHash, Method advisedMethod, Method unadvisedMethod, Advisor advisor, Object id, Class<?> invokedBusinessInterface)
   {
      super(interceptors, methodHash, advisedMethod, unadvisedMethod, advisor);
      this.id = id;
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this);
   }
View Full Code Here

   public StatefulContainerInvocation(MethodInfo info, Object id, Class<?> invokedBusinessInterface)
   {
      super(info);
      this.id = id;
      this.invocationContext = new SessionInvocationContextAdapter(invokedBusinessInterface, this);
   }
View Full Code Here

TOP

Related Classes of org.jboss.ejb3.core.context.SessionInvocationContextAdapter

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.