FileDocCategorySizeDatePackage
ServiceLocalProxyFactory.javaAPI DocJBoss 4.2.12707Fri Jul 13 20:53:50 BST 2007org.jboss.ejb3.service

ServiceLocalProxyFactory

public class ServiceLocalProxyFactory extends BaseServiceProxyFactory
author
Kabir Khan
version
$Revision: 57207 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectcreateProxy()

      try
      {
         Object[] args = {new ServiceLocalProxy(container)};
         return proxyConstructor.newInstance(args);
      }
      catch (InstantiationException e)
      {
         throw new RuntimeException(e);  //To change body of catch statement use Options | File Templates.
      }
      catch (IllegalAccessException e)
      {
         throw new RuntimeException(e);  //To change body of catch statement use Options | File Templates.
      }
      catch (IllegalArgumentException e)
      {
         throw new RuntimeException(e);  //To change body of catch statement use Options | File Templates.
      }
      catch (InvocationTargetException e)
      {
         throw new RuntimeException(e.getTargetException());  //To change body of catch statement use Options | File Templates.
      }
   
protected java.lang.Class[]getInterfaces()

      Class[] localInterfaces = ProxyFactoryHelper.getLocalInterfaces(container);
      Class[] interfaces = new Class[localInterfaces.length + 1];
      System.arraycopy(localInterfaces, 0, interfaces, 0, localInterfaces.length);
      interfaces[localInterfaces.length] = JBossProxy.class;
      return interfaces;
   
protected voidinitializeJndiName()

      jndiName = ProxyFactoryHelper.getLocalJndiName(container);