4 Replies Latest reply on Aug 24, 2005 9:49 AM by jimdwyer

    extending class that extends ServiceMBeanSupport

    jimdwyer

      Folks,

      Here is what I would like to do:

      public interface TestMBean extends org.jboss.system.ServiceMBean{}

      public abstract class AbstractTestService
      extends org.jboss.system.ServiceMBeanSupport
      implements TestMBean{

      public abstract boolean testMethod();
      }

      public class TestService extends AbstractTestService{

      public boolean testMethod(){}
      }

      This arrangment will not run. It throws a NotCompliantMBeanException. Class does not expose a management interface: java.lang.Object

      Any ideas as to why?

      Jim