spring-info.xml
1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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>