Class SpelBeanFactory
java.lang.Object
de.hybris.platform.addonsupport.config.SpelBeanFactory
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class SpelBeanFactory
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationContextprotected org.springframework.beans.factory.config.ConfigurableListableBeanFactoryvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) protected voidsetTargetClassForBean(org.springframework.expression.ExpressionParser parser, org.springframework.expression.spel.support.StandardEvaluationContext context, String beanName, org.springframework.beans.PropertyValue pv)
-
Constructor Details
-
SpelBeanFactory
public SpelBeanFactory()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
setTargetClassForBean
protected void setTargetClassForBean(org.springframework.expression.ExpressionParser parser, org.springframework.expression.spel.support.StandardEvaluationContext context, String beanName, org.springframework.beans.PropertyValue pv) -
getBeanFactory
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory() -
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-