Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
iPOJO-1.0.0
-
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()
@JmxMethod(....)
public void disabledMyProperty()
//etc...
}
Regards.
David