[
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.