|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigSource
Implementations of this interface are supplied to configs to provide the raw properties for configuration. A config will externally synchronize calls to this interface. If a ConfigSource instance is supplied to more than one config then that instance must be safe for concurrent use.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
A map of the configuration properties supplied by this source. |
long |
lastModified()
Returns the time at which the properties were last known to have changed. |
| Method Detail |
|---|
long lastModified()
throws java.lang.RuntimeException
java.lang.RuntimeException - if the last modified timestamp could not be generated
java.util.Map<java.lang.String,java.lang.String> getProperties()
throws java.lang.RuntimeException
java.lang.RuntimeException - if the properties could not be supplied
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||