Class PropertiesPlaceHolder

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
com.logicaldoc.util.spring.PropertiesPlaceHolder
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 PropertiesPlaceHolder extends org.springframework.context.support.PropertySourcesPlaceholderConfigurer
Extends the standard property placeholder to retrieve properties from the database.
Since:
1.0
Author:
Marco Meschieri - LogicalDOC
  • 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

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
     

    Methods inherited from class org.springframework.context.support.PropertySourcesPlaceholderConfigurer

    getAppliedPropertySources, setEnvironment, setPropertySources

    Methods inherited from class org.springframework.beans.factory.config.PlaceholderConfigurerSupport

    setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setTrimValues, setValueSeparator

    Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer

    getOrder, setOrder

    Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport

    setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PropertiesPlaceHolder

      public PropertiesPlaceHolder()
  • Method Details

    • postProcessBeanFactory

      public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
      Overrides:
      postProcessBeanFactory in class org.springframework.context.support.PropertySourcesPlaceholderConfigurer
      Throws:
      org.springframework.beans.BeansException