org.jboss.ejb.plugins.local
Class LocalProxy

java.lang.Object
  extended byorg.jboss.ejb.plugins.local.LocalProxy
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LocalHomeProxy (src)

public abstract class LocalProxy
extends java.lang.Object
implements java.io.Serializable

Abstract superclass of local interface proxies.

See Also:
Serialized Form

Field Summary
protected static java.lang.Object[] EMPTY_ARGS
          An empty method parameter list.
protected static java.lang.reflect.Method EQUALS
          Object.equals(java.lang.Object) method reference.
protected  BaseLocalProxyFactory (src) factory
           
protected static java.lang.reflect.Method GET_EJB_HOME
          EJBLocalObject.getEJBLocalHome() method reference.
protected static java.lang.reflect.Method GET_PRIMARY_KEY
          EJBLocalObject.getPrimaryKey() method reference.
protected static java.lang.reflect.Method HASH_CODE
          Object.hashCode() method reference.
protected static java.lang.reflect.Method IS_IDENTICAL
          EJBLocalObject.isIdentical(javax.ejb.EJBLocalObject) method reference.
protected  java.lang.String jndiName
           
protected static java.lang.reflect.Method REMOVE
          EJBLocalObject.remove() method reference.
protected static java.lang.reflect.Method TO_STRING
          Object.toString() method reference.
 
Constructor Summary
LocalProxy(java.lang.String jndiName, BaseLocalProxyFactory (src)  factory)
           
 
Method Summary
protected abstract  java.lang.Object getId()
           
protected  java.lang.String getJndiName()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ARGS

protected static final java.lang.Object[] EMPTY_ARGS
An empty method parameter list.


TO_STRING

protected static final java.lang.reflect.Method TO_STRING
Object.toString() method reference.


HASH_CODE

protected static final java.lang.reflect.Method HASH_CODE
Object.hashCode() method reference.


EQUALS

protected static final java.lang.reflect.Method EQUALS
Object.equals(java.lang.Object) method reference.


GET_PRIMARY_KEY

protected static final java.lang.reflect.Method GET_PRIMARY_KEY
EJBLocalObject.getPrimaryKey() method reference.


GET_EJB_HOME

protected static final java.lang.reflect.Method GET_EJB_HOME
EJBLocalObject.getEJBLocalHome() method reference.


IS_IDENTICAL

protected static final java.lang.reflect.Method IS_IDENTICAL
EJBLocalObject.isIdentical(javax.ejb.EJBLocalObject) method reference.


REMOVE

protected static final java.lang.reflect.Method REMOVE
EJBLocalObject.remove() method reference.


jndiName

protected java.lang.String jndiName

factory

protected transient BaseLocalProxyFactory (src)  factory
Constructor Detail

LocalProxy

public LocalProxy(java.lang.String jndiName,
                  BaseLocalProxyFactory (src)  factory)
Method Detail

getJndiName

protected java.lang.String getJndiName()

getId

protected abstract java.lang.Object getId()

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method m,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable