|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.jmx.MBeanProxy
A proxy and proxy factory to access MBean as normal classes. Server may be both local or remote.
| Constructor Summary | |
MBeanProxy(java.lang.String name)
Create a proxy wich will invoke the MBean by ObjectName name. |
|
MBeanProxy(java.lang.String name,
java.lang.String jndiURL)
Create a proxy wich will invoke the MBean by ObjectName name. |
|
| Method Summary | |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MBeanProxy(java.lang.String name)
throws javax.management.OperationsException,
javax.naming.NamingException
This proxy may be used both locally (the invokation is done directly against the MBean server) or remotely.
public MBeanProxy(java.lang.String name,
java.lang.String jndiURL)
throws javax.management.OperationsException,
javax.naming.NamingException
if jndiURL is non null, the MBean server will be looked up with that url as its java.naming.provider.url. This means that the proxy will actually proxy an MBean in another mbean server.
| Method Detail |
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Exception
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||