|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmx4odp.j4oNet.ProxyManager
public class ProxyManager
This class returns an Object that acts as a proxy to MBeans. Is uses the data in the JSO to determine how to connect to the MBean, whether it is local or remote.
| Constructor Summary | |
|---|---|
ProxyManager()
Creates new ProxyManager |
|
| Method Summary | |
|---|---|
JmxServiceObj |
createInstance(java.lang.String name,
java.lang.Object proxy)
Given a String to create a valid ObjectName and a valid proxy, it will create a new MBean on the MBean server and return a JSO with the new ObjectInstance |
JmxServiceObj |
getJmxServiceObj(java.lang.Object proxy)
Given a proxy object, it will return the JmxServiceObject used to make that proxy. |
java.lang.Object |
getProxy(JmxServiceObj jso)
If jso.getClassName() is not null, it will use it + "MBean" as the interface class, else it will use the jso.getObjectInstance()).getClassName() + "MBean" to determine the interface for the MBean. |
java.lang.Object |
getProxy(JmxServiceObj jso,
java.lang.Class interfaceClass)
This method will get use the interfaceClass argument to define the proxy class that is generated. |
java.lang.Object |
getProxy(JmxServiceObj jso,
java.lang.Class[] interfaces)
This method will get use the multiple Class objects in the interfaces array to define the proxy class that is generated. |
void |
unregisterMBean(java.lang.Object proxy)
This call will unregister the MBean represented by a proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyManager()
| Method Detail |
|---|
public java.lang.Object getProxy(JmxServiceObj jso)
throws java.lang.Exception
java.lang.Exception
public java.lang.Object getProxy(JmxServiceObj jso,
java.lang.Class interfaceClass)
throws java.lang.Exception
java.lang.Exception
public java.lang.Object getProxy(JmxServiceObj jso,
java.lang.Class[] interfaces)
throws java.lang.Exception
java.lang.Exception
public JmxServiceObj createInstance(java.lang.String name,
java.lang.Object proxy)
throws java.lang.Exception
java.lang.Exception
public void unregisterMBean(java.lang.Object proxy)
throws java.lang.Exception
java.lang.Exceptionpublic JmxServiceObj getJmxServiceObj(java.lang.Object proxy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||