You need to rename the interface to PropertyManagerServiceMBean.
I am having the same problem.
Just to see if I understand you correctly:
Any MBean similar to this (that is, not based on the JBoss helper classes) must be based on an interface with a name ending in "ServiceMBean"?
I have the same problem.
I don't quite understand your answer. What is the reason for the renaming? Is the important thing that the interface hava a name ending in ServiceMBean? Trying that did not work in my case.
If you an MBean class
its management interface should be
or com.foo.Blah should extend a class
that has a management interface.
OK, so in other words, the fact that MBean class com.foo.Blecch INHERITS from management interface com.foo.BlahMBean is not sufficient - the management interface must be named exactly as the class with the MBean suffix attached? Is that what the rule is?
Further question: does this apply to packages as well? That is a management interface and its associated MBean must be in the same package? Or not?
To redefine the management interface for
it must be called
Thanks, got it going now.
MBean is deployed and accessible from JMX console. How
do I access it programatically from my application? The normal course of my application will be to call the setter method of this bean repeatedly, and only occasionally get/set from the management console. How does the application find the bean instance it needs?
Another question. Does an MBean know its object name?
Try to create a new thread for each question.
It is easier for other people to follow.