| java.lang.Object org.jboss.mx.util.MBeanProxyExt
Method Summary | |
public static Object | create(Class intf, String name) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - A string used to construct the ObjectName of the MBean toproxy to. | public static Object | create(Class intf, String name, MBeanServer server) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - A string used to construct the ObjectName of the MBean toproxy to. Parameters: server - The MBeanServer that contains the MBean to proxy to. | public static Object | create(Class intf, ObjectName name) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. | public static Object | create(Class intf, ObjectName name, MBeanServer server) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to. | public static Object | create(Class intf, ObjectName name, MBeanServer server, boolean lazyInit) Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to. Parameters: lazyInit - - a flag indicating if the mbean attribute info shouldbe retrieved when the proxy is created. | public boolean | equals(Object that) We need to override this because by default equals returns false when
called on the proxy object and then relayed here. | final public MBeanServer | getMBeanProxyMBeanServer() | final public MBeanServerConnection | getMBeanProxyMBeanServerConnection() | final public ObjectName | getMBeanProxyObjectName() | public int | hashCode() | public 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. | public void | readExternal(ObjectInput in) | public String | toString() avoid the default printout, e.g. | public void | writeExternal(ObjectOutput out) |
MBeanProxyExt | public MBeanProxyExt()(Code) | | For externalizable
|
create | public static Object create(Class intf, ObjectName name)(Code) | | Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. A MBean proxy. |
create | public static Object create(Class intf, ObjectName name, MBeanServer server)(Code) | | Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to. A MBean proxy. |
create | public static Object create(Class intf, ObjectName name, MBeanServer server, boolean lazyInit)(Code) | | Create an MBean proxy.
Parameters: intf - The interface which the proxy will implement. Parameters: name - The name of the MBean to proxy invocations to. Parameters: server - The MBeanServer that contains the MBean to proxy to. Parameters: lazyInit - - a flag indicating if the mbean attribute info shouldbe retrieved when the proxy is created. A MBean proxy. |
equals | public boolean equals(Object that)(Code) | | We need to override this because by default equals returns false when
called on the proxy object and then relayed here.
|
hashCode | public int hashCode()(Code) | | As with equals, use the MBeanServer + ObjectName to calculate the
hashCode
|
invoke | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable(Code) | | Invoke the configured MBean via the target MBeanServer and decode any
resulting JMX exceptions that are thrown.
|
toString | public String toString()(Code) | | avoid the default printout, e.g. org.jboss.mx.util.MBeanProxyExt@120540c
|
|
|