awips2/cave/com.raytheon.viz.hydrocommon/res/spring/viz-hydrocommon.xml
Nate Jensen e163ae0e5b Omaha #3356 fix apps_dir setting detection in viz/cave
Change-Id: If78a4ec84f6237450a6494c06b5a5271c66f10a3

Former-commit-id: ca8195c7835b9d96158d048fdd548cc744ba96bc
2014-09-22 13:00:04 -05:00

15 lines
No EOL
774 B
XML

<beans xmlns="http://www.springframework.org/schema/beans"
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-3.1.xsd">
<!-- this needs to be injected so AppsDefaults can properly initialize the apps_dir property in viz -->
<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="com.raytheon.uf.common.ohd.AppsDefaults" />
<property name="targetMethod" value="setDataDirClass" />
<property name="arguments">
<value type="java.lang.Class">com.raytheon.uf.viz.core.VizApp</value>
</property>
</bean>
</beans>