|
||||||||||
| 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 java.lang.String |
findProperty(java.lang.String propertyName)
Resolves a property by name. |
java.lang.String |
get(java.lang.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 properties| Method Detail |
|---|
public java.lang.String get(java.lang.String propertyName)
get in interface PropertyResolverpropertyName - property name to be resolved
protected abstract java.lang.String findProperty(java.lang.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 | |||||||||