|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.transport.mock.MockServerInvocationHandler
MockServerInvocationHandler
| Constructor Summary | |
MockServerInvocationHandler()
|
|
| Method Summary | |
void |
addListener(InvokerCallbackHandler callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler. |
Object |
invoke(InvocationRequest invocation)
called to handle a specific invocation |
void |
removeListener(InvokerCallbackHandler callbackHandler)
Removes the callback handler that was listening for callbacks from the server invoker handler. |
void |
setInvoker(ServerInvoker invoker)
set the invoker that owns this handler |
void |
setMBeanServer(javax.management.MBeanServer server)
set the mbean server that the handler can reference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MockServerInvocationHandler()
| Method Detail |
public void setInvoker(ServerInvoker invoker)
setInvoker in interface ServerInvocationHandlerinvoker - public void setMBeanServer(javax.management.MBeanServer server)
setMBeanServer in interface ServerInvocationHandlerserver -
public Object invoke(InvocationRequest invocation)
throws Throwable
ServerInvocationHandler
invoke in interface ServerInvocationHandlerinvocation -
Throwablepublic void addListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
addListener in interface ServerInvocationHandlercallbackHandler - public void removeListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
removeListener in interface ServerInvocationHandlercallbackHandler -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||