public abstract class BasePropertyResolver<V> extends Object implements PropertyResolver<V>
| Constructor and Description |
|---|
BasePropertyResolver() |
| Modifier and Type | Method and Description |
|---|---|
V |
resolveProperty(Object propertyValueFromConfiguration,
Class<V> propertyClass)
Resolve property value from configuration (usually XML configuration) to real property value, which will be used
in IDM configuration
|
protected abstract V |
resolvePropertyFromObjectType(ObjectType objectType)
Should be overriden for resolvers, which are able to map compound
ObjectType to expected java type |
protected abstract V |
resolvePropertyFromString(String stringPropertyValue,
Class<V> propertyClass)
Should be overriden for resolvers, which are able to map simple String to expected java type
|
public V resolveProperty(Object propertyValueFromConfiguration, Class<V> propertyClass)
resolveProperty in interface PropertyResolver<V>propertyValueFromConfiguration - object from XML configuration. Type of this object is usually String (for simple text value of XML property)
or org.picketlink.identity.federation.core.config.idm.ObjectType (for property value containing "Object" element with other propertiespropertyClass - type of property to returnprotected abstract V resolvePropertyFromString(String stringPropertyValue, Class<V> propertyClass)
stringPropertyValue - property value from XML configurationpropertyClass - type of property to returnprotected abstract V resolvePropertyFromObjectType(ObjectType objectType)
ObjectType to expected java typeobjectType - property value from XML configurationCopyright © 2013. All Rights Reserved.