<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.0.xsd
           http://www.springframework.org/schema/util 
           http://www.springframework.org/schema/util/spring-util.xsd">

	<context:component-scan base-package="com.xxl.job.service" />

	<!-- Jetty任务执行器 -->
	<bean id="xxlJobJettyServer" class="com.xxl.job.client.netcom.jetty.XxlJobJettyServer" init-method="start">
		<property name="port" value="9999" />
	</bean>
	
	<bean id="glueFactory" class="com.xxl.job.client.glue.GlueFactory">
		<property name="cacheTimeout" value="5000" />
		<property name="glueLoader" ref="dbGlueLoader" />
	</bean>

</beans>