[jboss-jira] [JBoss JIRA] Commented: (JBMAN-77) Support default values
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Mon Apr 20 23:30:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMAN-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12463320#action_12463320 ]
Scott M Stark commented on JBMAN-77:
------------------------------------
It would require a custom DefaultValueBuilderFactory/DefaultValueBuilder that was able to take a string and populate the fields of the composite:
@DefaultValueBuilderFactory(MyCompositeDefaultBuilder.class)
@ManagementProperty(defaultValue="{fieldInt=1;fieldFloat=3.1.4159;fieldString=XYZ}")
public SomePojo getPojo() {...}
> Support default values
> ----------------------
>
> Key: JBMAN-77
> URL: https://jira.jboss.org/jira/browse/JBMAN-77
> Project: JBoss Managed
> Issue Type: Feature Request
> Affects Versions: JBossMan.2.1.0.CR7
> Reporter: Scott M Stark
> Assignee: Scott M Stark
> Fix For: JBossMan.2.1.0.CR8
>
>
> One feature jon has is an ability to unset managed property values which essentially restores them to the component specfic default. We would need to pull the default values into the managed property layer so that when a property was removed, we can undo any updates to return the property back to is default value.
--
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