|
||||||||||
PREV CLASS (src) 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 java.lang.Object |
create(java.lang.Class intf,
ObjectName (src) name,
MBeanServer (src) server)
Create an MBean proxy. |
static java.lang.Object |
create(java.lang.Class intf,
java.lang.String name,
MBeanServer (src) server)
Create an MBean proxy. |
ObjectName (src) |
getMBeanProxyObjectName()
|
RMIAdaptor (src) |
getMBeanProxyRMIAdaptor()
|
protected RMIAdaptor (src) |
getRmiAdaptor()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.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 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
protected RMIAdaptor (src) getRmiAdaptor() throws java.lang.Exception
java.lang.Exception
public final ObjectName (src) getMBeanProxyObjectName()
public final RMIAdaptor (src) getMBeanProxyRMIAdaptor()
public static java.lang.Object create(java.lang.Class intf, java.lang.String name, MBeanServer (src) server) throws java.lang.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.
java.lang.Exception
- Invalid object name.public static java.lang.Object create(java.lang.Class intf, ObjectName (src) name, MBeanServer (src) server) throws java.lang.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.
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |