public static class PropertySource.StubPropertySource extends PropertySource<Object>
PropertySourceto 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
ServletContextobject 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.
|Modifier and Type||Method and Description|
containsProperty, equals, getName, getSource, hashCode, named, toString
public StubPropertySource(String name)