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