Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d81b0749
authored
Mar 07, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Jetty任务调度器,新增
parent
1df79bc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
xxl-job-client-demo/src/main/resources/applicationcontext-base.xml → xxl-job-client-demo/src/main/resources/applicationcontext-xxl-job.xml
xxl-job-client-demo/src/main/webapp/WEB-INF/web.xml
xxl-job-client-demo/src/main/resources/applicationcontext-
base
.xml
→
xxl-job-client-demo/src/main/resources/applicationcontext-
xxl-job
.xml
View file @
d81b0749
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<context:component-scan
base-package=
"com.xxl.job.service"
/>
<context:component-scan
base-package=
"com.xxl.job.service"
/>
<!-- Jetty任务执行器 -->
<bean
id=
"xxlJobJettyServer"
class=
"com.xxl.job.client.netcom.jetty.XxlJobJettyServer"
init-method=
"start"
>
<bean
id=
"xxlJobJettyServer"
class=
"com.xxl.job.client.netcom.jetty.XxlJobJettyServer"
init-method=
"start"
>
<property
name=
"port"
value=
"9999"
/>
<property
name=
"port"
value=
"9999"
/>
</bean>
</bean>
...
...
xxl-job-client-demo/src/main/webapp/WEB-INF/web.xml
View file @
d81b0749
...
@@ -20,7 +20,8 @@
...
@@ -20,7 +20,8 @@
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
</listener>
<!-- Xxl Job Servlet -->
<!-- Servlet任务执行器,推荐使用Jetty任务执行器 -->
<!--
<servlet>
<servlet>
<servlet-name>XxlJobServlet</servlet-name>
<servlet-name>XxlJobServlet</servlet-name>
<servlet-class>com.xxl.job.client.netcom.servlet.XxlJobServlet</servlet-class>
<servlet-class>com.xxl.job.client.netcom.servlet.XxlJobServlet</servlet-class>
...
@@ -29,7 +30,8 @@
...
@@ -29,7 +30,8 @@
<servlet-mapping>
<servlet-mapping>
<servlet-name>XxlJobServlet</servlet-name>
<servlet-name>XxlJobServlet</servlet-name>
<url-pattern>/xxlJobServlet</url-pattern>
<url-pattern>/xxlJobServlet</url-pattern>
</servlet-mapping>
</servlet-mapping>
-->
<welcome-file-list>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.html
</welcome-file>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment