org.kie.spring
Class KModuleBeanFactoryPostProcessor
java.lang.Object
org.kie.spring.KModuleBeanFactoryPostProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
- KModuleAnnotationPostProcessor
@Component(value="kiePostProcessor")
public class KModuleBeanFactoryPostProcessor
- extends Object
- implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
|
Method Summary |
protected String |
checkAndResolveSpringExpression(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
org.springframework.beans.factory.config.BeanExpressionContext context,
String expression)
|
protected org.drools.compiler.kie.builder.impl.InternalKieModule |
createKieModule(org.kie.api.builder.model.KieModuleModel kieProject)
|
protected void |
initConfigFilePath()
|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setReleaseId(org.kie.api.builder.ReleaseId releaseId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configFileURL
protected URL configFileURL
releaseId
protected org.kie.api.builder.ReleaseId releaseId
KModuleBeanFactoryPostProcessor
public KModuleBeanFactoryPostProcessor()
KModuleBeanFactoryPostProcessor
public KModuleBeanFactoryPostProcessor(URL configFileURL,
String configFilePath,
org.springframework.context.ApplicationContext context)
KModuleBeanFactoryPostProcessor
public KModuleBeanFactoryPostProcessor(URL configFileURL,
String configFilePath)
initConfigFilePath
protected void initConfigFilePath()
setReleaseId
public void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
createKieModule
protected org.drools.compiler.kie.builder.impl.InternalKieModule createKieModule(org.kie.api.builder.model.KieModuleModel kieProject)
checkAndResolveSpringExpression
protected String checkAndResolveSpringExpression(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
org.springframework.beans.factory.config.BeanExpressionContext context,
String expression)
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.