|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ServerInvocationHandler is the server side (remote) end handler which is registered for a given ServerInvoker implementation. The ServerInvocationHandler does the actual implementation work of invoking the method on the target object in the remote VM. The ServerInvoker will then handle marshalling and returning the results via the appropriate transport back to the client invoker.
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 |
Method Detail |
public void setMBeanServer(javax.management.MBeanServer server)
server
- public void setInvoker(ServerInvoker invoker)
invoker
- public Object invoke(InvocationRequest invocation) throws Throwable
invocation
-
Throwable
public void addListener(InvokerCallbackHandler callbackHandler)
callbackHandler
- public void removeListener(InvokerCallbackHandler callbackHandler)
callbackHandler
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |