public class PentahoBeanScopeValidatorPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Jersey libs, however, use the getScope() as the means for validating if a spring is singleton scoped or not;
And while in spring 2.5.6 that was alright, with the new spring 3.2.14 that's not quite the case
,
https://github.com/jersey/jersey-1.x/blob/master/jersey-core/src/main/java/com/sun/jersey/core/spi/component/ioc/IoCProviderFactory.java#L122-L126
Constructor and Description |
---|
PentahoBeanScopeValidatorPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
protected void |
validateBeanScope(String beanName,
org.springframework.beans.factory.config.BeanDefinition bd) |
public PentahoBeanScopeValidatorPostProcessor()
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
protected void validateBeanScope(String beanName, org.springframework.beans.factory.config.BeanDefinition bd)
Copyright © 2017 Hitachi Vantara. All rights reserved.