awips2/edexOsgi/com.raytheon.uf.edex.ohd/res/spring/ohd-database-ingest.xml
2022-05-05 12:34:50 -05:00

31 lines
No EOL
1.2 KiB
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.xsd">
<bean id="ihfsBloatMonitor" class="com.raytheon.uf.edex.database.health.DatabaseBloatMonitor">
<constructor-arg>
<bean class="com.raytheon.uf.edex.database.health.PostgresBloatDao">
<constructor-arg value="ihfs"/>
</bean>
</constructor-arg>
</bean>
<bean id="damBloatMonitor" class="com.raytheon.uf.edex.database.health.DatabaseBloatMonitor">
<constructor-arg>
<bean class="com.raytheon.uf.edex.database.health.PostgresBloatDao">
<constructor-arg value="dam"/>
</bean>
</constructor-arg>
</bean>
<bean factory-bean="dbMonitorRegistry" factory-method="registerMonitor">
<constructor-arg value="ihfsBloatMonitor" />
<constructor-arg ref="ihfsBloatMonitor" />
</bean>
<bean factory-bean="dbMonitorRegistry" factory-method="registerMonitor">
<constructor-arg value="damBloatMonitor" />
<constructor-arg ref="damBloatMonitor" />
</bean>
</beans>