Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to extract Bean ID in java for JMX

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

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


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?
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic