|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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
|
protected static org.jboss.tm.TransactionPropagationContextFactory |
tpcFactory
Factory for transaction propagation contexts. |
| 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. |
static void |
setTPCFactory(org.jboss.tm.TransactionPropagationContextFactory tpcf)
|
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
protected static org.jboss.tm.TransactionPropagationContextFactory tpcFactory
public static int MAX_RETRIES
| Constructor Detail |
public JRMPInvokerProxy()
public JRMPInvokerProxy(Invoker remoteInvoker)
| Method Detail |
public static void setTPCFactory(org.jboss.tm.TransactionPropagationContextFactory tpcf)
public String getServerHostName() throws Exception
getServerHostName in interface InvokerExceptionpublic Object getTransactionPropagationContext() throws SystemException
null if the transaction manager was never
set, or if no transaction is associated with the current thread.
SystemExceptionpublic 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 ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||