1 Reply Latest reply on Oct 26, 2004 1:28 PM by Scott Stark

    Annotated MBeans and SAR Deployer expansion

    Bill Burke Master

      I want to expand the SAR Deployer to accept annotated classes.

      The way it would work would be as follows.

      @MBean("domain.name:service=something")
      public class MyClass implements MyClassMBean {...}
      


      The SAR Deployer would browse the archive for all @MBean tagged classes
      and create an MBean instance for that class and deploy it under the annotation name. Javassist and the JBoss AOP AnnotationCompiler will allow us to write JDk 1.4 compatible code.

      /** @@MBean("domain.name:service=something") */
      public class MyClass implements MyClassMBean {...}
      


      This allows for very simple creation of service MBeans.

      Bill