This content has been marked as final.
Show 2 replies
-
1. Re: How to access my MBean from a client application?
tomerbd Sep 23, 2004 7:33 AM (in response to arindamg)public Object getJMXProperty(String objectNameAsString, String attributeName)
ObjectName objectName = null;
MBeanServer mBeanServer = null;
objectName = new ObjectName(objectNameAsString);
mBeanServer = MBeanServerLocator.locateJBoss();
Object object;
object = mBeanServer.getAttribute(objectName, attributeName);
return object;
} -
2. Re: How to access my MBean from a client application?
darranl Sep 24, 2004 4:49 AM (in response to arindamg)Have a look at the 'Administrators and Developers Guide' available from the 'Free Doco' link on the right, there is more information on accessing MBeans programmatically.