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

Provide annotation for iPojo JMX Handler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: iPOJO-1.0.0
    • Fix Version/s: iPOJO-1.2.0
    • Component/s: iPOJO
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: