public class EmptyPropertySource extends java.lang.Object implements PropertySource
An PropertySource that is empty when instantiated.
PropertySource.PropertyConventionCONTEXTHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
EmptyPropertySource()
Default constructor.
|
EmptyPropertySource(java.lang.String name)
Creates a property source with a name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String key)
Get a property value of the given key.
|
java.lang.String |
getName() |
java.util.Iterator<java.lang.String> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConvention, mapOf, of, of, of, of, ofpublic EmptyPropertySource()
public EmptyPropertySource(java.lang.String name)
name - The namepublic java.lang.String getName()
getName in interface PropertySourcepublic java.lang.Object get(java.lang.String key)
PropertySourceget in interface PropertySourcekey - The keypublic java.util.Iterator<java.lang.String> iterator()
iterator in interface java.lang.Iterable<java.lang.String>