Package org.openl.spring.env
Class DefaultPropertyLoader
- java.lang.Object
-
- org.openl.spring.env.DefaultPropertyLoader
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>,org.springframework.context.EnvironmentAware,org.springframework.core.Ordered,org.springframework.core.PriorityOrdered
public class DefaultPropertyLoader extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.core.PriorityOrdered
Loads OpenL default properties fromclasspath*:openl-default.properties- Author:
- Yury Molchan
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertyLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()voidinitialize(org.springframework.context.ConfigurableApplicationContext applicationContext)voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)voidsetEnvironment(org.springframework.core.env.Environment environment)
-
-
-
Method Detail
-
initialize
public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
- Specified by:
initializein interfaceorg.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
-