@Component(value="kiePostProcessor") public class KModuleBeanFactoryPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected URL |
kModuleRootUrl
Root URL of the KieModule which is associated with the Spring app context.
|
protected org.kie.api.builder.ReleaseId |
releaseId |
Constructor and Description |
---|
KModuleBeanFactoryPostProcessor() |
KModuleBeanFactoryPostProcessor(URL kModuleRootUrl) |
KModuleBeanFactoryPostProcessor(URL kModuleRootUrl,
org.springframework.context.ApplicationContext context) |
Modifier and Type | Method and Description |
---|---|
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) |
URL |
getkModuleRootUrl() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setReleaseId(org.kie.api.builder.ReleaseId releaseId) |
protected URL kModuleRootUrl
protected org.kie.api.builder.ReleaseId releaseId
public KModuleBeanFactoryPostProcessor()
public KModuleBeanFactoryPostProcessor(URL kModuleRootUrl, org.springframework.context.ApplicationContext context)
public KModuleBeanFactoryPostProcessor(URL kModuleRootUrl)
public URL getkModuleRootUrl()
public void setReleaseId(org.kie.api.builder.ReleaseId releaseId)
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 org.drools.compiler.kie.builder.impl.InternalKieModule createKieModule(org.kie.api.builder.model.KieModuleModel kieProject)
protected String checkAndResolveSpringExpression(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, org.springframework.beans.factory.config.BeanExpressionContext context, String expression)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.