org.jboss.invocation.jrmp.server
Class JRMPInvoker_Stub

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteStub
          extended by org.jboss.invocation.jrmp.server.JRMPInvoker_Stub
All Implemented Interfaces:
Serializable, Remote, Invoker

public final class JRMPInvoker_Stub
extends RemoteStub
implements Invoker, Remote

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface org.jboss.invocation.Invoker
ID
 
Constructor Summary
JRMPInvoker_Stub(RemoteRef ref)
           
 
Method Summary
 String getServerHostName()
          A free form String identifier for this delegate invoker, can be clustered or target node This should evolve in a more advanced meta-inf object
 Object invoke(Invocation $param_Invocation_1)
          The invoke with an Invocation Object.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRMPInvoker_Stub

public JRMPInvoker_Stub(RemoteRef ref)
Method Detail

getServerHostName

public String getServerHostName()
                         throws Exception
Description copied from interface: Invoker
A free form String identifier for this delegate invoker, can be clustered or target node This should evolve in a more advanced meta-inf object

Specified by:
getServerHostName in interface Invoker
Throws:
Exception

invoke

public Object invoke(Invocation $param_Invocation_1)
              throws Exception
Description copied from interface: Invoker
The invoke with an Invocation Object.

the delegate can handle network protocols on behalf of proxies (proxies delegate to these puppies). We provide default implemenations with JRMP/Local/Clustered invokers. The delegates are not tied to a type of invocation (EJB or generic RMI).

Specified by:
invoke in interface Invoker
Parameters:
$param_Invocation_1 - A pointer to the invocation object
Returns:
Return value of method invocation.
Throws:
Exception - Failed to invoke method.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.