public class PropertyResolverMapper extends Object
Modifier and Type | Method and Description |
---|---|
<V> void |
addPropertyResolver(Class<V> clazz,
PropertyResolver<V> propertyResolver)
Adding resolvers for custom java types
|
static PropertyResolverMapper |
getInstance() |
<V> V |
resolveProperty(Object configurationValue,
Class<V> clazz) |
public static PropertyResolverMapper getInstance()
public <V> void addPropertyResolver(Class<V> clazz, PropertyResolver<V> propertyResolver)
V
- clazz
- expected class of type, which will be used as return type of resolverpropertyResolver
- resolver to be addedCopyright © 2016 JBoss by Red Hat. All rights reserved.