spring-framework / org.springframework.beans.factory.config / CustomScopeConfigurer / <init>

<init>

CustomScopeConfigurer()

Simple BeanFactoryPostProcessor implementation that registers custom Scope with the containing ConfigurableBeanFactory.

Will register all of the supplied scopes with the ConfigurableListableBeanFactory that is passed to the #postProcessBeanFactory(ConfigurableListableBeanFactory) method.

This class allows for declarative registration of custom scopes. Alternatively, consider implementing a custom BeanFactoryPostProcessor that calls ConfigurableBeanFactory#registerScope programmatically.

Author
Juergen Hoeller

Author
Rick Evans

Since
2.0

See Also
ConfigurableBeanFactory#registerScope