le.urule-console.2.1.1.source-code.urule-console-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd "> <import resource="classpath:urule-core-context.xml"/> <bean id="urule.knowledgePackageService" class="com.bstek.urule.console.DefaultKnowledgePackageService"> <property name="knowledgeBuilder" ref="urule.knowledgeBuilder"></property> <property name="repositoryService" ref="urule.repositoryService"></property> </bean> <bean id="urule.consoleServletHandler" class="com.bstek.urule.console.servlet.console.ConsoleServletHandler"> <property name="debugMessageHolder" ref="urule.debugMessageHolder"></property> </bean> <bean id="urule.consoleDebugWriter" class="com.bstek.urule.console.servlet.console.ConsoleDebugWriter"> <property name="debugMessageHolder" ref="urule.debugMessageHolder"></property> </bean> <bean id="urule.debugMessageHolder" class="com.bstek.urule.console.servlet.console.DebugMessageHolder"></bean> <bean id="urule.httpSessionKnowledgeCache" class="com.bstek.urule.console.servlet.respackage.HttpSessionKnowledgeCache"></bean> <bean id="urule.repositoryResourceProvider" class="com.bstek.urule.console.repository.RepositoryResourceProvider"> <property name="repositoryService" ref="urule.repositoryService"></property> </bean> <bean id="urule.permissionConfigServletHandler" class="com.bstek.urule.console.servlet.permission.PermissionConfigServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="permissionStore" ref="urule.permissionService"></property> </bean> <bean id="urule.permissionService" class="com.bstek.urule.console.repository.permission.PermissionServiceImpl"> <property name="repositoryService" ref="urule.repositoryService"></property> </bean> <bean id="urule.scorecardEditorServletHandler" class="com.bstek.urule.console.servlet.scorecard.ScorecardEditorServletHandler"></bean> <bean id="urule.resourceLoaderServletHandler" class="com.bstek.urule.console.servlet.ResourceLoaderServletHandler"></bean> <bean id="urule.loadKnowledgeServletHandler" class="com.bstek.urule.console.servlet.knowledge.LoadKnowledgeServletHandler"> <property name="knowledgePackageService" ref="urule.knowledgePackageService"></property> </bean> <bean id="urule.xmlServletHandler" class="com.bstek.urule.console.servlet.xml.XmlServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="builtInActionLibraryBuilder" ref="urule.builtInActionLibraryBuilder"></property> </bean> <bean id="urule.frameServletHandler" class="com.bstek.urule.console.servlet.frame.FrameServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="welcomePage" value="${urule.welcomePage}"></property> <property name="title" value="${urule.console.title}"></property> </bean> <bean id="urule.packageServletHandler" class="com.bstek.urule.console.servlet.respackage.PackageServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="knowledgeBuilder" ref="urule.knowledgeBuilder"></property> <property name="httpSessionKnowledgeCache" ref="urule.httpSessionKnowledgeCache"></property> </bean> <bean id="urule.reteDiagramServletHandler" class="com.bstek.urule.console.servlet.diagram.ReteDiagramServletHandler"> <property name="knowledgeBuilder" ref="urule.knowledgeBuilder"></property> <property name="httpSessionKnowledgeCache" ref="urule.httpSessionKnowledgeCache"></property> </bean> <bean id="urule.ruleSetServletEditorHandler" class="com.bstek.urule.console.servlet.ruleset.RuleSetServletEditorHandler"></bean> <bean id="urule.decisionTreeEditorServletHandler" class="com.bstek.urule.console.servlet.decisiontree.DecisionTreeEditorServletHandler"></bean> <bean id="urule.variableEditorServletHandler" class="com.bstek.urule.console.servlet.variable.VariableEditorServletHandler"></bean> <bean id="urule.constantServletHandler" class="com.bstek.urule.console.servlet.constant.ConstantServletHandler"></bean> <bean id="urule.parameterServletHandler" class="com.bstek.urule.console.servlet.parameter.ParameterServletHandler"></bean> <bean id="urule.actionServletHandler" class="com.bstek.urule.console.servlet.action.ActionServletHandler"></bean> <bean id="urule.ruleFlowDesignerServletHandler" class="com.bstek.urule.console.servlet.flow.RuleFlowDesignerServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="flowDeserializer" ref="urule.flowDeserializer"></property> </bean> <bean id="urule.ulEditorServletHandler" class="com.bstek.urule.console.servlet.ul.ULEditorServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="dslRuleSetBuilder" ref="urule.dslRuleSetBuilder"></property> <property name="resourceLibraryBuilder" ref="urule.resourceLibraryBuilder"></property> </bean> <bean id="urule.decisiontableEditorServletHandler" class="com.bstek.urule.console.servlet.decisiontable.DecisiontableEditorServletHandler"></bean> <bean id="urule.scriptDecisiontableEditorServletHandler" class="com.bstek.urule.console.servlet.scriptdecisiontable.ScriptDecisiontableEditorServletHandler"></bean> <bean id="urule.commonServletHandler" class="com.bstek.urule.console.servlet.common.CommonServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> <property name="builtInActionLibraryBuilder" ref="urule.builtInActionLibraryBuilder"></property> </bean> <bean id="urule.clientConfigServletHandler" class="com.bstek.urule.console.servlet.client.ClientConfigServletHandler"> <property name="repositoryService" ref="urule.repositoryService"></property> </bean> <bean id="urule.console.propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreUnresolvablePlaceholders" value="true"></property> <property name="location"> <value>classpath:urule-console-context.properties</value> </property> </bean> <bean id="urule.repositoryBuilder" class="com.bstek.urule.console.repository.RepositoryBuilder"> <property name="repositoryXml" value="${urule.repository.xml}"></property> <property name="repoHomeDir" value="${urule.repository.dir}"></property> </bean> <bean id="urule.repositoryService" class="com.bstek.urule.console.repository.RepositoryServiceImpl"> <property name="repositoryBuilder" ref="urule.repositoryBuilder"></property> <property name="permissionService" ref="urule.permissionService"></property> </bean> </beans>