This content has been marked as final.
Show 2 replies
-
1. Re: How can a n mbean read out its own name
jj Jan 13, 2004 5:23 PM (in response to thl-mot)If I understood your question.....
Assuming your class is a subclass of ServiceMBeanSupport:
ObjectName myName = this.serviceName; -
2. Re: How can a n mbean read out its own name
adrian.brock Jan 14, 2004 4:14 AM (in response to thl-mot)Or more generally implement javax.mangement.MBeanRegistration
ServerMBeanSupport does it for you.
Regards,
Adrian