|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jms.net.connector.ContextInvocationHandler
InvocationHandler implementation that sets the current ConnectionContext. before delegating invocations.
This ensures Proxy instances are associated with the appropriate
Connection and ConnectionFactory on deserialization.
ConnectionContext| Constructor Summary | |
ContextInvocationHandler(InvocationHandler handler,
ConnectionFactory resolver,
ManagedConnection connection)
Construct a new ContextInvocationHandler. |
|
| Method Summary | |
void |
invoke(Invocation invocation)
Perform an invocation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContextInvocationHandler(InvocationHandler handler,
ConnectionFactory resolver,
ManagedConnection connection)
ContextInvocationHandler.handler - the handler to delegate toresolver - the connection factory for resolving connections via
their URIconnection - the connection performing the invocation| Method Detail |
public void invoke(Invocation invocation)
invoke in interface InvocationHandlerinvocation - the invocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||