public class PropertiesObjectNameMetaMapper extends MetaMapper<ObjectName>
Constructor and Description |
---|
PropertiesObjectNameMetaMapper() |
PropertiesObjectNameMetaMapper(String... args) |
Modifier and Type | Method and Description |
---|---|
MetaValue |
createMetaValue(MetaType metaType,
ObjectName object)
Create the meta value
|
static ObjectName |
createObjectName(String domain,
PropertiesMetaValue props)
Create object name from PropertiesMetaValue.
|
MetaType |
getMetaType()
Override this method to create your own metatype
|
Type |
mapToType()
Override this method to map to a specific type
|
ObjectName |
unwrapMetaValue(MetaValue metaValue)
Unwrap the metavalue
|
getMetaMapper
public PropertiesObjectNameMetaMapper()
public PropertiesObjectNameMetaMapper(String... args)
public MetaType getMetaType()
MetaMapper
getMetaType
in class MetaMapper<ObjectName>
public Type mapToType()
MetaMapper
mapToType
in class MetaMapper<ObjectName>
public MetaValue createMetaValue(MetaType metaType, ObjectName object)
MetaMapper
createMetaValue
in class MetaMapper<ObjectName>
metaType
- the metatypeobject
- the objectpublic ObjectName unwrapMetaValue(MetaValue metaValue)
MetaMapper
unwrapMetaValue
in class MetaMapper<ObjectName>
metaValue
- the meta valuepublic static ObjectName createObjectName(String domain, PropertiesMetaValue props) throws MalformedObjectNameException
domain
- the domain nameprops
- the propsMalformedObjectNameException
- for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.