0 Replies Latest reply on Feb 6, 2005 12:03 PM by Adrian Brock

    Boston meeting notes: System module

    Adrian Brock Master

      Need to annotate the jmx lifecycle for MicroContainer usage:

      public interface Service
      {
       @CreateLifecycle
       void create() throws Exception;
      // etc.
      }
      


      Also the default annotation semantics need to be expanded to take into account
      interfaces/inheritance on methods

      e.g.
      public class MyService implements Service
      {
       public void create() {}
      }
      


      The default annotation processing results are
      Method createMyService = MyService.class.getMethod("create", new Class[0]);
      Method createService = Service.class.getMethod("create", new Class[0]);
      
      createMyService.getAnnotation(CreateLifecycle.class); // returns null
      createService.getAnnotation(CreateLifecycle.class); // returns CreateLifecycle