org.jboss.mx.remoting
Class JMXSubsystemInvocationHandler

java.lang.Object
  extended by 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

Constructor Summary
JMXSubsystemInvocationHandler()
           
 
Method Summary
 void addListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
           
 void destroy()
          method is called to destroy the handler and remove all pending notifications and listeners from the notification cache
protected  void finalize()
           
 Object invoke(org.jboss.remoting.InvocationRequest invocation)
           
 void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
           
 void setInvoker(org.jboss.remoting.ServerInvoker invoker)
          set the invoker that owns this handler
 void setMBeanServer(MBeanServer server)
          set the mbean server that the handler can reference
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.remoting.ServerInvocationHandler
toString
 

Constructor Detail

JMXSubsystemInvocationHandler

public JMXSubsystemInvocationHandler()
Method Detail

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.