Class SpelBeanFactory
- java.lang.Object
-
- de.hybris.platform.addonsupport.config.SpelBeanFactory
-
- All Implemented Interfaces:
java.util.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 java.lang.Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware
-
-
Constructor Summary
Constructors Constructor Description SpelBeanFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.context.ApplicationContextgetApplicationContext()protected org.springframework.beans.factory.config.ConfigurableListableBeanFactorygetBeanFactory()voidonApplicationEvent(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, java.lang.String beanName, org.springframework.beans.PropertyValue pv)
-
-
-
Method Detail
-
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, java.lang.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
-
-