Hi, I am trying to extend the EmbeddedCatalinaService41MBean to create a new MBean with a new management method "void foo(...)". So I created a new Mbean interface "MyCatalinaMbean" that extend EmbeddedCatalinaService41MBean and added this new method(foo). Then I implement this interface in the class called "MyCatalina" which extend EmbeddedCatalinaService41 and implement
"MyCatalinaMbean" interface. I modify the tomcat41-service.xml to use this new Mbean and start the Jboss. Everything seems to work fine ,I am able to deploy few web apps successfully. but the new method ("foo") that I added is not exposed through the JMX infrastructure..?
Am I missing some design pattern that I need to implement when I extend a JBoss MBean ??
would appreciate help from anyone...
I am using Jboss-306 ..