|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 (src) callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler. |
java.lang.Object |
invoke(InvocationRequest (src) invocation)
called to handle a specific invocation. |
void |
removeListener(InvokerCallbackHandler (src) callbackHandler)
Removes the callback handler that was listening for callbacks from the server invoker handler. |
void |
setInvoker(ServerInvoker (src) invoker)
set the invoker that owns this handler |
void |
setMBeanServer(MBeanServer (src) server)
set the mbean server that the handler can reference |
Method Detail |
public void setMBeanServer(MBeanServer (src) server)
server
- public void setInvoker(ServerInvoker (src) invoker)
invoker
- public java.lang.Object invoke(InvocationRequest (src) invocation) throws java.lang.Throwable
invocation
-
java.lang.Throwable
public void addListener(InvokerCallbackHandler (src) callbackHandler)
callbackHandler
- public void removeListener(InvokerCallbackHandler (src) callbackHandler)
callbackHandler
-
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |