org.apache.geronimo.remoting.router
Class JMXRouter
java.lang.Object
org.apache.geronimo.remoting.router.AbstractInterceptorRouter
org.apache.geronimo.remoting.router.JMXRouter
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, Router
- public class JMXRouter
- extends AbstractInterceptorRouter
Uses JMX Object names to route the request to a JMX object that implements the
JMXTargetMBean interface.
This allows you to route invocations to MBeans using URIs like:
async://localhost:3434/JMX#geronimo.jmx:target=MBeanServerStub
The MBean that will receive invocations must implement the JMXTarget interface.
- Version:
- $Revision: 1.13 $ $Date: 2004/09/08 12:26:23 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
JMXRouter
public JMXRouter()
getSubsystemRouter
public SubsystemRouter getSubsystemRouter()
setSubsystemRouter
public void setSubsystemRouter(SubsystemRouter subsystemRouter)
register
public void register(javax.management.ObjectName objectName,
JMXTarget target)
unregister
public void unregister(javax.management.ObjectName objectName)
lookupInterceptorFrom
protected org.apache.geronimo.core.service.Interceptor lookupInterceptorFrom(URI to)
throws Exception
- Specified by:
lookupInterceptorFrom
in class AbstractInterceptorRouter
- Throws:
Exception
doStart
public void doStart()
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Overrides:
doStart
in class AbstractInterceptorRouter
doStop
public void doStop()
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Overrides:
doStop
in class AbstractInterceptorRouter
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.