Package org.springframework.core.env
Class PropertySource.StubPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<Object>
org.springframework.core.env.PropertySource.StubPropertySource
- Enclosing class:
- PropertySource<T>
PropertySource to be used as a placeholder in cases where an actual
 property source cannot be eagerly initialized at application context
 creation time.  For example, a ServletContext-based property source
 must wait until the ServletContext object is available to its enclosing
 ApplicationContext.  In such cases, a stub should be used to hold the
 intended default position/order of the property source, then be replaced
 during context refresh.- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.core.env.PropertySourcePropertySource.StubPropertySource
- 
Field SummaryFields inherited from class org.springframework.core.env.PropertySourcelogger, name, source
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.springframework.core.env.PropertySourcecontainsProperty, equals, getName, getSource, hashCode, named, toString
- 
Constructor Details- 
StubPropertySource
 
- 
- 
Method Details- 
getPropertyAlways returnsnull.- Specified by:
- getPropertyin class- PropertySource<Object>
- Parameters:
- name- the property to find
- See Also:
 
 
-