org.springframework.config.java.annotation.valuesource
Annotation Type PropertiesValueSource
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface PropertiesValueSource
Enables resolving ExternalValue
fields/methods against one or more properties files.
- Author:
- Chris Beams
- See Also:
SystemPropertiesValueSource
,
EnvironmentValueSource
,
PropertiesValueSourceHandler
,
ExternalValue
Required Element Summary |
java.lang.String[] |
locations
|
Optional Element Summary |
java.lang.Class<?> |
relativeTo
|
locations
public abstract java.lang.String[] locations
relativeTo
public abstract java.lang.Class<?> relativeTo
- Default:
- java.lang.Object.class