com.caucho.ejb.protocol
Class ServerRemoteProxy

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

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

The JNDI proxy for local interfaces.

See Also:
Serialized Form

Constructor Summary
ServerRemoteProxy(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerRemoteProxy

public ServerRemoteProxy(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