[jboss-jira] [JBoss JIRA] Resolved: (JBMAN-31) Add a classProperties to ManagementObject
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Mon Nov 17 00:11:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBMAN-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott M Stark resolved JBMAN-31.
--------------------------------
Resolution: Done
> Add a classProperties to ManagementObject
> -----------------------------------------
>
> Key: JBMAN-31
> URL: https://jira.jboss.org/jira/browse/JBMAN-31
> Project: JBoss Managed
> Issue Type: Feature Request
> Affects Versions: JBossMan.2.0.0.CR3
> Reporter: Scott M Stark
> Assignee: Scott M Stark
> Fix For: JBossMan.2.0.0.CR4
>
>
> We need an additional classProperties field on the ManagementObject annotation to allow complete specification of the management interface from the class level annotaton:
> /**
> * A class level specification of the management properties. Depending on the
> * properties() value, this can either override or augment the ManagementProperty
> * annotations found on the bean fields/methods.
> * @return
> */
> ManagementProperty[] classProperties() default {};
> The ManagementProperties enum needs to be extended with two additional values (CLASS, CLASS_AND_EXPLICIT) to control how the class and field/method annotations combine:
> public enum ManagementProperties
> {
> /** All properties by default */
> ALL,
>
> /** Only bean properties annotated with @ManagementProperty */
> EXPLICIT,
> /** Only @ManagementProperty from the @ManagementObject class annotation */
> CLASS,
> /** Merge @ManagementProperty from the @ManagementObject class annotation
> * and any bean properties annotated with @ManagementProperty
> */
> CLASS_AND_EXPLICIT
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list