|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.util.property.FallbackPropertyResolver
public abstract class FallbackPropertyResolver
Resolves properties by first looking at itself and then to a falback resolver.
Constructor Summary | |
---|---|
FallbackPropertyResolver(PropertyResolver fallbackResolver)
Creates a property resolver with a fallback resolver. |
Method Summary | |
---|---|
protected abstract String |
findProperty(String propertyName)
Resolves a property by name. |
String |
get(String propertyName)
Resolves a property based on its name by first calling the findProperty() and then fallback to falback resolver if property value is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FallbackPropertyResolver(PropertyResolver fallbackResolver)
fallbackResolver
- rersolver to use to resolve propertiesMethod Detail |
---|
public String get(String propertyName)
get
in interface PropertyResolver
propertyName
- property name to be resolved
protected abstract String findProperty(String propertyName)
propertyName
- name of the property to be resolved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |