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

    extending class that extends ServiceMBeanSupport

    Jim Dwyer Novice

      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