• Post Reply Bookmark Topic Watch Topic
  • New Topic

JBoss 6 MBeanServerLocator Usage  RSS feed

 
rahul r nair
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have code, which uses org/jboss/mx/util/MBeanServerLocator to lookup MBeans. However, EAP 6 has removed this class from the Jboss Package. What is the alternative?
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be forthright when cross posting to other sites: https://developer.jboss.org/thread/273252.

Does this link help? It says that you should be able to use ManagementFactory.getPlatformMBeanServer(), which is part of JSE.
 
rahul r nair
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rob,

Thanks for providing the link. I have gone through this link previously but was not helpful. That is the reason why i created this post.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!