META-INF.cwf-plugin-scenario-spring.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cwf-plugin-scenario Show documentation
Show all versions of cwf-plugin-scenario Show documentation
Configures resources for demo scenarios.
<?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:cwp="http://www.carewebframework.org/schema/plugin" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.carewebframework.org/schema/plugin http://www.carewebframework.org/schema/plugin/plugin-extensions.xsd"> <beans profile="root"> <cwp:plugin id="cwfScenarioManager" name="Configure Scenario" url="web/org/hspconsortium/cwf/plugin/scenario/scenarioManager.fsp"> <cwp:resource> <cwp:action-resource id="cwfScenarioShow" label="${@msg.cwf.scenario.action.label}" script="groovy:org.hspconsortium.cwf.plugin.scenario.ScenarioManagerController.show();" /> </cwp:resource> </cwp:plugin> </beans> <beans profile="child"> <bean id="cwfScenarioManagerController" scope="prototype" class="org.hspconsortium.cwf.plugin.scenario.ScenarioManagerController"> <constructor-arg ref="cwfScenarioRegistry" /> </bean> <bean id="cwfScenarioViewResourcesController" scope="prototype" class="org.hspconsortium.cwf.plugin.scenario.ViewResourcesController"> <constructor-arg ref="fhirService" /> </bean> </beans> </beans>