Package org.dspace.servicemanager.config
Class DSpaceConfigurationPlaceholderConfigurer
- java.lang.Object
-
- org.springframework.core.io.support.PropertiesLoaderSupport
-
- org.springframework.beans.factory.config.PropertyResourceConfigurer
-
- org.springframework.beans.factory.config.PlaceholderConfigurerSupport
-
- org.springframework.context.support.PropertySourcesPlaceholderConfigurer
-
- org.dspace.servicemanager.config.DSpaceConfigurationPlaceholderConfigurer
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.config.BeanFactoryPostProcessor
,org.springframework.context.EnvironmentAware
,org.springframework.core.Ordered
,org.springframework.core.PriorityOrdered
public class DSpaceConfigurationPlaceholderConfigurer extends org.springframework.context.support.PropertySourcesPlaceholderConfigurer
Extends Spring PropertySourcesPlaceholderConfigurer to allow our Configuration to be included as a Spring PropertySource. This allows ${...} placeholders within bean definition property values and @Value annotations to be resolved using DSpaceConfigurationServiceSee: https://stackoverflow.com/a/36718301/3750035
NOTE: This is initialized in spring-dspace-core-services.xml
- See Also:
PropertySourcesPlaceholderConfigurer
,DSpaceConfigurationService
-
-
Field Summary
-
Fields inherited from class org.springframework.context.support.PropertySourcesPlaceholderConfigurer
ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, LOCAL_PROPERTIES_PROPERTY_SOURCE_NAME
-
Fields inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, trimValues, valueSeparator
-
-
Constructor Summary
Constructors Constructor Description DSpaceConfigurationPlaceholderConfigurer(org.apache.commons.configuration2.Configuration configuration)
-
Method Summary
-
Methods inherited from class org.springframework.context.support.PropertySourcesPlaceholderConfigurer
getAppliedPropertySources, postProcessBeanFactory, processProperties, processProperties, setEnvironment, setPropertySources
-
Methods inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport
doProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setTrimValues, setValueSeparator
-
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer
convertProperties, convertProperty, convertPropertyValue, getOrder, setOrder
-
-