I don't know why you guys suggest that class, and not the standard one:
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MBeanServerInvoc...
|
|
| If you have an MBean server mbs containing an MBean with ObjectName name, and if the
MBean's management interface is described by the Java interface Intf, you can
construct a proxy for the MBean like this:
|
| Intf proxy = (Intf)
| MBeanServerInvocationHandler.newProxyInstance(mbs,
| name,
| Intf.class,
| false);
|
|
| Suppose, for example, Intf looks like this:
|
| public interface Intf {
| public String getSomeAttribute();
| public void setSomeAttribute(String value);
| public void someOperation(String param1, int param2);
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032154#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...