-svr-monitor.2.5.source-code.monitored.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-svr-monitor Show documentation
Show all versions of addc-svr-monitor Show documentation
Supplies the classes required for monitoring a server with the Amentet Monitoring Service
<?xml version="1.0" encoding="UTF-8"?> <!-- ********************************************************** --> <!-- Include this file to activate the monitoring functionality --> <!-- ********************************************************** --> <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="monitorPOA" class="com.addc.server.commons.domain.PoaWrapper"> <constructor-arg index="0" ref="serverConfig" /> <constructor-arg index="1" ref="orbWrapper" /> <constructor-arg index="2" value="Monitored" /> <!-- The name of the POA --> <constructor-arg index="3" value="true" /> <!-- No CSI for monitoring --> </bean> <bean id="monitoredImpl" class="com.addc.server.commons.monitored.MonitoredImpl" /> <bean id="monitored" class="com.addc.server.commons.domain.ServantWrapper"> <constructor-arg index="0" ref="serverConfig" /> <constructor-arg index="1" ref="monitorPOA" /> <constructor-arg index="2" value="Monitored" /> <!-- The name of the MonitorImpl object --> <constructor-arg index="3" ref="monitoredImpl" /> <constructor-arg index="4" value="false" /> <!-- The Monitor cannot be monitored --> </bean> </beans>