com.caucho.ejb.protocol
Class ServerLocalProxy

java.lang.Object
  extended by com.caucho.ejb.protocol.ServerLocalProxy
All Implemented Interfaces:
ObjectProxy, java.io.Serializable

public class ServerLocalProxy
extends java.lang.Object
implements ObjectProxy, java.io.Serializable

The JNDI proxy for local interfaces.

See Also:
Serialized Form

Constructor Summary
ServerLocalProxy(AbstractEjbBeanManager<?> server, java.lang.Class<?> clientApi)
          Creates a new server proxy
 
Method Summary
 java.lang.Object createObject(java.util.Hashtable<?,?> env)
          Creates the object from the proxy.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerLocalProxy

public ServerLocalProxy(AbstractEjbBeanManager<?> server,
                        java.lang.Class<?> clientApi)
Creates a new server proxy

Method Detail

createObject

public java.lang.Object createObject(java.util.Hashtable<?,?> env)
                              throws javax.naming.NamingException
Creates the object from the proxy.

Specified by:
createObject in interface ObjectProxy
Parameters:
env - the calling environment
Returns:
the object named by the proxy.
Throws:
javax.naming.NamingException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object