spring-config-switch.xml 784 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<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-4.0.xsd">

    <bean id="dnspodMap" class="org.springframework.beans.factory.config.YamlMapFactoryBean">
        <property name="resources">
            <list>
                <value>classpath:dnspod.yml</value>
            </list>
        </property>
    </bean>

    <bean id="recordYml" class="com.monitor.switchs.RecordYml">
        <property name="dnspodMap" ref="dnspodMap" />
    </bean>

    <bean id="tokenContainer" class="com.monitor.switchs.TokenContainer"/>
</beans>