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

    Annotated MBeans and SAR Deployer expansion

    bill.burke

      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



        • 1. Re: Annotated MBeans and SAR Deployer expansion
          starksm64

          This needs to integrate into the virtual file system notion we have been talking about adding to the new deployment assmbly line/chain concept. We don't want to have very deployer that can obtain metadata from annotations to have to be walking over every class in a deployment to extract this.