Class CustomPropertySourcePostProcessor

java.lang.Object
org.frankframework.lifecycle.CustomPropertySourcePostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
Direct Known Subclasses:
HostnamePropertySourcePostProcessor, LowerCasePropertySourcePostProcessor, OverwritePropertySourcePostProcessor

public abstract class CustomPropertySourcePostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered, org.springframework.context.EnvironmentAware
Property Configurer that add's additional properties to the Spring environment through a custom property-source Implements BeanFactoryPostProcessor so it's executed before other beans are created.
Author:
Niels Meijer
  • Constructor Details

    • CustomPropertySourcePostProcessor

      public CustomPropertySourcePostProcessor()
  • Method Details

    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • convertProperties

      protected abstract void convertProperties(Properties props)
      Parameters:
      props - An empty or previously set Properties object
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • 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
      Throws:
      org.springframework.beans.BeansException