Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.invocation.jrmp » interfaces » [javadoc | source]
org.jboss.invocation.jrmp.interfaces
public class: JRMPInvokerProxy [javadoc | source]
java.lang.Object
   org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy

All Implemented Interfaces:
    Invoker, Externalizable

Direct Known Subclasses:
    JRMPInvokerProxyHA

JRMPInvokerProxy, local to the proxy and is capable of delegating to the JRMP implementations
Field Summary
protected  Invoker remoteInvoker     
public static  int MAX_RETRIES    max retries on a ConnectException. 
Constructor:
 public JRMPInvokerProxy() 
 public JRMPInvokerProxy(Invoker remoteInvoker) 
    Create a new Proxy.
    Parameters:
    container - The remote interface of the container invoker of the container we proxy for.
Method from org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy Summary:
getServerHostName,   getTransactionPropagationContext,   invoke,   readExternal,   writeExternal
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy Detail:
 public String getServerHostName() throws Exception 
    The name of of the server.
 public Object getTransactionPropagationContext() throws SystemException 
    ???
 public Object invoke(Invocation invocation) throws Exception 
    The invocation on the delegate, calls the right invoker. Remote if we are remote, local if we are local.
 public  void readExternal(ObjectInput in) throws ClassNotFoundException, IOException 
    Un-externalize this instance.
 public  void writeExternal(ObjectOutput out) throws IOException 
    Externalize this instance and handle obtaining the remoteInvoker stub