Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-825

Provide annotation for iPojo JMX Handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • iPOJO-1.0.0
    • iPOJO-1.2.0
    • iPOJO
    • None
    • JRE 6 / Windows

    Description

      Could it be possible to provide annotations for iPojo JMX Handler like for example others annotations like @Component, @Provides, etc...
      It would be very nice to have full annotated pojo, instead of mixing basic iPojo annotation and XML configuration.

      For exemple :

      @Component(name="myComponent")
      @Provides()
      @JmxConfig(objectName="my.object.name:type=myType")
      public class MyServiceImpl implements MyService
      {
      @JmxProperty(field="...",name="...",notification=true,right="r")
      public boolean myProperty = false;

      @JmxMethod(name="...",description="...")
      public void enabledMyProperty()

      { myProperty = true; }

      @JmxMethod(....)
      public void disabledMyProperty()

      { myProperty = false; }

      //etc...
      }

      Regards.
      David

      Attachments

        Activity

          People

            clement.escoffier Clement Escoffier
            dgay David GAY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: