提交 d81b0749 编写于 作者: X xueli.xue

Jetty任务调度器,新增

上级 1df79bc9
......@@ -11,6 +11,7 @@
<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>
......
......@@ -20,7 +20,8 @@
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- Xxl Job Servlet -->
<!-- Servlet任务执行器,推荐使用Jetty任务执行器 -->
<!--
<servlet>
<servlet-name>XxlJobServlet</servlet-name>
<servlet-class>com.xxl.job.client.netcom.servlet.XxlJobServlet</servlet-class>
......@@ -29,7 +30,8 @@
<servlet-mapping>
<servlet-name>XxlJobServlet</servlet-name>
<url-pattern>/xxlJobServlet</url-pattern>
</servlet-mapping>
</servlet-mapping>
-->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册