felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-825) Provide annotation for iPojo JMX Handler
Date Thu, 20 Nov 2008 14:20:46 GMT

     [ https://issues.apache.org/jira/browse/FELIX-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Clement Escoffier reassigned FELIX-825:
---------------------------------------

    Assignee: Clement Escoffier

> Provide annotation for iPojo JMX Handler
> ----------------------------------------
>
>                 Key: FELIX-825
>                 URL: https://issues.apache.org/jira/browse/FELIX-825
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.0.0
>         Environment: JRE 6 / Windows
>            Reporter: David GAY
>            Assignee: Clement Escoffier
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message