Package org.jboss.ejb3.proxy.factory.stateful

Examples of org.jboss.ejb3.proxy.factory.stateful.StatefulLocalProxyFactory


      return this.createLocalProxy(id, this.getAnnotation(LocalBinding.class));
   }
  
   public Object createLocalProxy(Object id, LocalBinding binding) throws Exception
   {
      StatefulLocalProxyFactory factory = new StatefulLocalProxyFactory(this, binding);
      factory.init();

      return factory.createProxyBusiness(id);
   }
View Full Code Here


   }
  
   @Override
   protected StatefulLocalProxyFactory getProxyFactory(LocalBinding binding)
   {
      StatefulLocalProxyFactory factory = (StatefulLocalProxyFactory) this.proxyDeployer.getProxyFactory(binding);

      if (factory == null)
      {
         factory = new StatefulLocalProxyFactory(this, binding);

         try
         {
            factory.init();
         }
         catch (Exception e)
         {
            throw new RuntimeException(e);
         }
View Full Code Here

      return factory;
   }
  
   public Object createProxyLocalEjb21(Object id, LocalBinding binding, String businessInterfaceType) throws Exception
   {
      StatefulLocalProxyFactory proxyFactory = this.getProxyFactory(binding);
      return proxyFactory.createProxyEjb21(id,businessInterfaceType);
   }
View Full Code Here

            initParameterValues = args;
         }

         LocalBinding binding = this.getAnnotation(LocalBinding.class);

         StatefulLocalProxyFactory factory = new StatefulLocalProxyFactory(this, binding);
         factory.init();

         Object proxy = factory.createProxyEjb21(initParameterTypes,
                 initParameterValues, unadvisedMethod.getReturnType().getName());

         return proxy;
      }
      else if (unadvisedMethod.getName().equals("remove"))
View Full Code Here

      return this.createLocalProxy(id, this.getAnnotation(LocalBinding.class));
   }
  
   public Object createLocalProxy(Object id, LocalBinding binding) throws Exception
   {
      StatefulLocalProxyFactory factory = new StatefulLocalProxyFactory(this, binding);
      factory.init();

      return factory.createProxyBusiness(id);
   }
View Full Code Here

   }
  
   @Override
   protected StatefulLocalProxyFactory getProxyFactory(LocalBinding binding)
   {
      StatefulLocalProxyFactory factory = (StatefulLocalProxyFactory) this.proxyDeployer.getProxyFactory(binding);

      if (factory == null)
      {
         factory = new StatefulLocalProxyFactory(this, binding);

         try
         {
            factory.init();
         }
         catch (Exception e)
         {
            throw new RuntimeException(e);
         }
View Full Code Here

      return factory;
   }
  
   public Object createProxyLocalEjb21(Object id, LocalBinding binding, String businessInterfaceType) throws Exception
   {
      StatefulLocalProxyFactory proxyFactory = this.getProxyFactory(binding);
      return proxyFactory.createProxyEjb21(id,businessInterfaceType);
   }
View Full Code Here

            initParameterValues = args;
         }

         LocalBinding binding = this.getAnnotation(LocalBinding.class);

         StatefulLocalProxyFactory factory = new StatefulLocalProxyFactory(this, binding);
         factory.init();

         Object proxy = factory.createProxyEjb21(initParameterTypes,
                 initParameterValues, unadvisedMethod.getReturnType().getName());

         return proxy;
      }
      else if (unadvisedMethod.getName().equals("remove"))
View Full Code Here

      return this.createLocalProxy(id, this.getAnnotation(LocalBinding.class));
   }
  
   public Object createLocalProxy(Object id, LocalBinding binding) throws Exception
   {
      StatefulLocalProxyFactory factory = new StatefulLocalProxyFactory(this, binding);
      factory.init();

      return factory.createProxyBusiness(id);
   }
View Full Code Here

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

      @Deprecated
      Ejb3Registrar registrar = Ejb3RegistrarLocator.locateRegistrar();
View Full Code Here

TOP

Related Classes of org.jboss.ejb3.proxy.factory.stateful.StatefulLocalProxyFactory

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.