Package org.oddjob.arooa.runtime
Interface PropertyLookup
- All Known Subinterfaces:
PropertyManager
- All Known Implementing Classes:
EnvVarPropertyLookup,StandardPropertyLookup,StandardPropertyManager
public interface PropertyLookup
Something for looking up properties.
- Author:
- rob
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the value of a property, or null if it doesn't exist.Return all property names in this property lookup.Return a source for the property.
-
Field Details
-
SYSTEM_PROPERTY_SOURCE
-
-
Method Details
-
lookup
Return the value of a property, or null if it doesn't exist.- Parameters:
propertyName- The name of the property.- Returns:
- The value or null.
-
sourceFor
Return a source for the property.- Parameters:
propertyName- The property name.- Returns:
- The source, or null if the property isn't known.
-
propertyNames
Return all property names in this property lookup.- Returns:
- The property names. Never null.
-