[
https://jira.jboss.org/jira/browse/JBMAN-43?page=com.atlassian.jira.plugi...
]
Scott M Stark resolved JBMAN-43.
--------------------------------
Resolution: Done
This has been replaced with the org.jboss.metatype.api.annotations.MetaMapping
annotation:
public @interface MetaMapping
{
Class<? extends MetaMapper<?>> value();
}
which can be specified on a property to define how wrapping/unwrapping occur:
@ManagementProperty()
@MetaMapping(StringObjectNameMetaMapper.class)
public ObjectName getNameAsString()
{
return nameAsString;
}
Change @ManagementProperty.marshallerFactory field to a MetaMapper
from an InstanceClassFactory
-----------------------------------------------------------------------------------------------
Key: JBMAN-43
URL:
https://jira.jboss.org/jira/browse/JBMAN-43
Project: JBoss Managed
Issue Type: Feature Request
Affects Versions: JBossMan.2.0.0.CR5
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: JBossMan.2.0.0.GA
The InstanceClassFactory does too much to be used as a simple value/MetaValue wrap/unwrap
interface, so @ManagementProperty.marshallerFactory field should be changed to a
org.jboss.metatype.spi.values.MetaValueMapper. Since this field is currently unsued the
name will also be change to valueMapper.
--
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