awips2/edexOsgi/com.raytheon.uf.edex.management/res/spring/management-common.xml
root 7dbd17a5aa Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 133dc97f67 [formerly a02aeb236c] [formerly 9f19e3f712] [formerly 133dc97f67 [formerly a02aeb236c] [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 9bb8decbcf [formerly 8e80217e59] [formerly 377dcd10b9 [formerly 3360eb6c5f]]
Former-commit-id: 377dcd10b9
Former-commit-id: e2ecdcfe33
2012-01-06 08:55:05 -06:00

50 lines
1.9 KiB
XML

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="mgmtInit" class="com.raytheon.uf.edex.management.MgmtInitializer" />
<bean id="changeContextHandler"
class="com.raytheon.uf.edex.management.handler.ChangeContextHandler" />
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.management.request.ChangeContextRequest" />
<constructor-arg ref="changeContextHandler" />
</bean>
<bean id="getContextsHandler"
class="com.raytheon.uf.edex.management.handler.diagnostic.GetContextsHandler" />
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.management.request.diagnostic.GetContextsRequest" />
<constructor-arg ref="getContextsHandler" />
</bean>
<bean id="statusHandler"
class="com.raytheon.uf.edex.management.handler.diagnostic.StatusHandler" />
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.management.request.diagnostic.StatusRequest" />
<constructor-arg ref="statusHandler" />
</bean>
<camelContext id="management"
xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler"
autoStartup="true">
<endpoint id="managementEndpoint"
uri="jetty:http://0.0.0.0:${management.port}/services/edexMgmt?disableStreamCache=true" />
<route id="managementService">
<from ref="managementEndpoint" />
<bean ref="routeWrapper" method="executeThrift"/>
</route>
</camelContext>
</beans>