spring-info.xml 1.91 KB
<?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-3.1.xsd">

    <bean id="dnsConfig" class="com.monitor.other.dns.common.DNSConfig">
        <constructor-arg name = "url" value="${dns.config.url}"/>
        <constructor-arg name = "dnsApiUrl" value="${dns.config.api.url}"/>
    </bean>
    
    <bean id="redisReadUtil" class="com.monitor.other.maliciousip.util.RedisReadUtil" init-method="init">
        <property name = "redis_address" value="${malicious.ip.redis.host}" />
        <property name = "redis_port" value="${malicious.ip.redis.port}" />
    </bean>
    
    <bean id="redisWriteUtil" class="com.monitor.other.maliciousip.util.RedisWriteUtil" init-method="init">
        <property name = "redis_address_qq1" value="${malicious.ip.write.qq.host1}" />
        <property name = "redis_address_qq2" value="${malicious.ip.write.qq.host2}" />
        <property name = "redis_address_aws1" value="${malicious.ip.write.aws.host1}" />
        <property name = "redis_address_aws2" value="${malicious.ip.write.aws.host2}" />
        <property name = "redis_port" value="${malicious.ip.redis.port}" />
    </bean>
    
    <bean id="redisReadMaliciousUtil" class="com.monitor.other.maliciousip.util.RedisReadMaliciousUtil" init-method="init">
        <property name = "redis_address" value="${malicious.ip.write.aws.host1}" />
        <property name = "redis_port" value="${malicious.ip.redis.port}" />
    </bean>
    

    <bean id="sheduletask" class="com.monitor.other.task.SheduleTask">
        <property name="taskScheduler" ref="scheduler"/>
    </bean></beans>
    
    <bean id="logPrintTimer" class="com.monitor.other.maliciousip.job.MaliciousIpJob"
        init-method="doStart">
    </bean>