|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy
JRMPInvokerProxy, local to the proxy and is capable of delegating to the JRMP implementations
Field Summary | |
static int |
MAX_RETRIES
max retries on a ConnectException. |
protected Invoker |
remoteInvoker
|
Fields inherited from interface org.jboss.invocation.Invoker |
ID |
Constructor Summary | |
JRMPInvokerProxy()
Exposed for externalization. |
|
JRMPInvokerProxy(Invoker remoteInvoker)
Create a new Proxy. |
Method Summary | |
String |
getServerHostName()
The name of of the server. |
Object |
getTransactionPropagationContext()
??? |
Object |
invoke(Invocation invocation)
The invocation on the delegate, calls the right invoker. |
void |
readExternal(ObjectInput in)
Un-externalize this instance. |
void |
writeExternal(ObjectOutput out)
Externalize this instance and handle obtaining the remoteInvoker stub |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Invoker remoteInvoker
public static int MAX_RETRIES
Constructor Detail |
public JRMPInvokerProxy()
public JRMPInvokerProxy(Invoker remoteInvoker)
Method Detail |
public String getServerHostName() throws Exception
getServerHostName
in interface Invoker
Exception
public Object getTransactionPropagationContext() throws SystemException
null
if the transaction manager was never
set, or if no transaction is associated with the current thread.
SystemException
public Object invoke(Invocation invocation) throws Exception
invocation
- A pointer to the invocation object
Exception
- Failed to invoke method.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |