org.jboss.mx.remoting
Class JMXSubsystemInvocationHandler
java.lang.Object
org.jboss.mx.remoting.JMXSubsystemInvocationHandler
- All Implemented Interfaces:
- org.jboss.remoting.ServerInvocationHandler
public class JMXSubsystemInvocationHandler
- extends Object
- implements org.jboss.remoting.ServerInvocationHandler
JMXSubsystemInvocationHandler is a ServerInvocationHandler that will forward requests to the
MBeanServer and return the results from the MBeanServer.
- Version:
- $Revision: 81023 $
- Author:
- Jeff Haynie
JMXSubsystemInvocationHandler
public JMXSubsystemInvocationHandler()
setInvoker
public void setInvoker(org.jboss.remoting.ServerInvoker invoker)
- set the invoker that owns this handler
- Specified by:
setInvoker
in interface org.jboss.remoting.ServerInvocationHandler
- Parameters:
invoker
-
setMBeanServer
public void setMBeanServer(MBeanServer server)
- set the mbean server that the handler can reference
- Specified by:
setMBeanServer
in interface org.jboss.remoting.ServerInvocationHandler
- Parameters:
server
-
destroy
public void destroy()
- method is called to destroy the handler and remove all pending notifications and listeners
from the notification cache
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
invoke
public Object invoke(org.jboss.remoting.InvocationRequest invocation)
throws Throwable
- Specified by:
invoke
in interface org.jboss.remoting.ServerInvocationHandler
- Throws:
Throwable
addListener
public void addListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
- Specified by:
addListener
in interface org.jboss.remoting.ServerInvocationHandler
removeListener
public void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
- Specified by:
removeListener
in interface org.jboss.remoting.ServerInvocationHandler
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.