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

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890885#3890885

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890885


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to