This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to extract Bean ID in java for JMX

 
Deepak Angeshwar
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

Is there a way to extract a Bean ID
once the list of beans has been passed to another bean

I have a JMXClient class, that takes a list of beans in its constructor
Beans are Bean1 & Bean2



JMX beans have a distinct object name that looks like
packagename:name<BeanID>,type=<classname>

e.g.
com:name=Bean1,type=ClassA
com:name=Bean2,type=ClassA

My JMXClient class constructs this object name and fetches the JMXBean from the server.
To construct this object name I need the Bean ID. Is there any way I can get hold of the Bean ID using Spring?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic