|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.jmx.adaptor.rmi.RMIRemoteMBeanProxy
A factory for producing MBean proxies that run on a distant node and access the server through RMI. Most of the code comes from MBeanProxy.
| Method Summary | |
static Object |
create(Class intf,
javax.management.ObjectName name,
javax.management.MBeanServer server)
Create an MBean proxy. |
static Object |
create(Class intf,
String name,
javax.management.MBeanServer server)
Create an MBean proxy. |
javax.management.ObjectName |
getMBeanProxyObjectName()
|
RMIAdaptor |
getMBeanProxyRMIAdaptor()
|
protected RMIAdaptor |
getRmiAdaptor()
|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invoke the configured MBean via the target MBeanServer and decode any resulting JMX exceptions that are thrown. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableprotected RMIAdaptor getRmiAdaptor() throws Exception
Exceptionpublic final javax.management.ObjectName getMBeanProxyObjectName()
public final RMIAdaptor getMBeanProxyRMIAdaptor()
public static Object create(Class intf, String name, javax.management.MBeanServer server) throws Exception
intf - The interface which the proxy will implement.name - A string used to construct the ObjectName of the
MBean to proxy to.server - The MBeanServer that contains the MBean to proxy to.
Exception - Invalid object name.public static Object create(Class intf, javax.management.ObjectName name, javax.management.MBeanServer server) throws Exception
intf - The interface which the proxy will implement.name - The name of the MBean to proxy invocations to.server - The MBeanServer that contains the MBean to proxy to.
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||