awips2/cave/com.raytheon.uf.viz.core/res/spring/viz.xml
Max Schenkelberg 1073393fbb Issue #1638 Refactored viz/edex/common core projects to removed common and viz dependencies on edex projects
Amend: Accepted ticket for work, again!  Ensured uframe product project was not deleted

Change-Id: Iaa7754f25d74d893f84a7f82df605fb906e1e719

Former-commit-id: 2611980ca4 [formerly 4ed4ef8d71] [formerly 2611980ca4 [formerly 4ed4ef8d71] [formerly e0ba97d547 [formerly 615fa06253cc5226ddbedbb7835f3f03cf4cbb5b]]]
Former-commit-id: e0ba97d547
Former-commit-id: 5617dfaa67 [formerly 6b1426dd34]
Former-commit-id: 453ac44050
2013-02-27 11:50:38 -06:00

52 lines
No EOL
2.5 KiB
XML

<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"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
<bean id="httpClient" class="com.raytheon.uf.common.comm.HttpClient" factory-method="getInstance">
<property name="socketTimeout" value="330000"/>
<property name="connectionTimeout" value="10000"/>
<property name="maxConnectionsPerHost" value="10"/>
<property name="compressRequests" value="false"/>
<property name="gzipResponseHandling" value="false"/>
</bean>
<bean id="baosPool" class="com.raytheon.uf.common.util.ByteArrayOutputStreamPool" factory-method="getInstance">
<property name="maxPoolSize" value="8"/>
<property name="initStreamSize" value="1"/>
<property name="maxStreamSize" value="5.5"/>
</bean>
<bean id="vizMonitorHandler" class="com.raytheon.uf.viz.core.status.VizMonitorHandler">
<property name="monitorEndpoint" value="edex.alerts.msg"/>
</bean>
<bean class="com.raytheon.uf.common.geospatial.LogRedirector" factory-method="getInstance"/>
<!-- These util:constant beans should not be required, they overwrite the ones in *-common.xml files for CAVE since
CAVE just gets a ClassNotFoundException on boot...
someday the reason should be figured out and these beans removed -->
<util:constant id="requestServerKey"
static-field="com.raytheon.uf.common.auth.RequestConstants.REQUEST_SERVER" />
<!-- Register routers -->
<bean id="requestRouterRegistry"
class="com.raytheon.uf.common.serialization.comm.RequestRouter"
factory-method="getRouterRegistry" />
<bean id="requestServiceRouter" class="com.raytheon.uf.viz.core.requests.ServerRequestRouter">
<constructor-arg ref="requestServerKey" />
<!-- This bean will cause all RequestRouter.route(request) calls to be serialized over to EDEX -->
</bean>
<bean factory-bean="requestRouterRegistry" factory-method="register">
<constructor-arg ref="requestServerKey" />
<constructor-arg ref="requestServiceRouter" />
</bean>
</beans>