Module net.shibboleth.ext.spring
Package net.shibboleth.ext.spring.config
Class NonReloadableExcluder
- java.lang.Object
-
- net.shibboleth.ext.spring.config.NonReloadableExcluder
-
- All Implemented Interfaces:
BeanFactoryPostProcessor
public class NonReloadableExcluder extends Object implements BeanFactoryPostProcessor
Post-processes bean definitions by marking any reloadable beans as singletons, and any non-reloadable beans as lazy-init to limit/prevent instantiation.Used to implement the "reloadable" custom bean scope in concert with
ReloadableScope.- Since:
- 5.4.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description NonReloadableExcluder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
-
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
- Specified by:
postProcessBeanFactoryin interfaceBeanFactoryPostProcessor- Throws:
BeansException
-
-