|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.ServerInvocationHandlerWrapper
public class ServerInvocationHandlerWrapper
A ServerInvocationHandlerWrapper is used to wrap an MBean proxy that implements org.jboss.remoting.ServerInvocationHandler. If necessary, each call will go through an AccessController.doPrivileged() call.
Copyright May 4, 2008
Constructor Summary | |
---|---|
ServerInvocationHandlerWrapper(ServerInvocationHandler proxy)
|
Method Summary | |
---|---|
void |
addListener(InvokerCallbackHandler callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler. |
java.lang.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 |
Methods inherited from interface org.jboss.remoting.ServerInvocationHandler |
---|
toString |
Constructor Detail |
---|
public ServerInvocationHandlerWrapper(ServerInvocationHandler proxy)
Method Detail |
---|
public void addListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
addListener
in interface ServerInvocationHandler
public java.lang.Object invoke(InvocationRequest invocation) throws java.lang.Throwable
ServerInvocationHandler
invoke
in interface ServerInvocationHandler
java.lang.Throwable
public void removeListener(InvokerCallbackHandler callbackHandler)
ServerInvocationHandler
removeListener
in interface ServerInvocationHandler
public void setInvoker(ServerInvoker invoker)
ServerInvocationHandler
setInvoker
in interface ServerInvocationHandler
public void setMBeanServer(javax.management.MBeanServer server)
ServerInvocationHandler
setMBeanServer
in interface ServerInvocationHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |