xueli.xue 8 yıl önce
ebeveyn
işleme
8b2d0e42c4

+ 4 - 6
xxl-job-admin/src/main/resources/applicationcontext-base.xml Dosyayı Görüntüle

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
-	xmlns:util="http://www.springframework.org/schema/util"
5
-	xsi:schemaLocation="http://www.springframework.org/schema/beans
3
+	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	   xmlns:context="http://www.springframework.org/schema/context"
5
+	   xsi:schemaLocation="http://www.springframework.org/schema/beans
6
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
6
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7
            http://www.springframework.org/schema/context
7
            http://www.springframework.org/schema/context
8
-           http://www.springframework.org/schema/context/spring-context-3.0.xsd
9
-           http://www.springframework.org/schema/util 
10
-           http://www.springframework.org/schema/util/spring-util.xsd">
8
+           http://www.springframework.org/schema/context/spring-context-3.0.xsd">
11
 
9
 
12
 	<context:component-scan base-package="com.xxl.job.admin.service, com.xxl.job.admin.dao" />
10
 	<context:component-scan base-package="com.xxl.job.admin.service, com.xxl.job.admin.dao" />
13
 
11
 

+ 4 - 7
xxl-job-admin/src/main/resources/applicationcontext-database.xml Dosyayı Görüntüle

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
-	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
5
-	xsi:schemaLocation="
6
-		http://www.springframework.org/schema/beans 
7
-		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
8
-		http://www.springframework.org/schema/context 
9
-		http://www.springframework.org/schema/context/spring-context-3.0.xsd 
3
+	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	   xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
5
+	   xsi:schemaLocation="http://www.springframework.org/schema/beans
6
+		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
10
 		http://www.springframework.org/schema/aop 
7
 		http://www.springframework.org/schema/aop 
11
 		http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 
8
 		http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 
12
 		http://www.springframework.org/schema/tx 
9
 		http://www.springframework.org/schema/tx 

+ 3 - 8
xxl-job-admin/src/main/resources/applicationcontext-xxl-job.xml Dosyayı Görüntüle

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
-	xmlns:util="http://www.springframework.org/schema/util"
5
-	xsi:schemaLocation="http://www.springframework.org/schema/beans
6
-           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7
-           http://www.springframework.org/schema/context
8
-           http://www.springframework.org/schema/context/spring-context-3.0.xsd
9
-           http://www.springframework.org/schema/util 
10
-           http://www.springframework.org/schema/util/spring-util.xsd">
3
+	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	   xsi:schemaLocation="http://www.springframework.org/schema/beans
5
+           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
11
 
6
 
12
 	<bean id="quartzScheduler" lazy-init="false" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
7
 	<bean id="quartzScheduler" lazy-init="false" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
13
 		<property name="dataSource" ref="dataSource" />
8
 		<property name="dataSource" ref="dataSource" />

+ 6 - 14
xxl-job-admin/src/main/resources/springmvc-context.xml Dosyayı Görüntüle

1
-<?xml version="1.0" encoding="UTF-8"?> 
1
+<?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-    xmlns:aop="http://www.springframework.org/schema/aop" 
4
-    xmlns:context="http://www.springframework.org/schema/context" 
5
-    xmlns:p="http://www.springframework.org/schema/p" 
6
-    xmlns:tx="http://www.springframework.org/schema/tx"
7
-    xmlns:mvc="http://www.springframework.org/schema/mvc"
8
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9
-    xsi:schemaLocation="  
10
-		http://www.springframework.org/schema/beans 
3
+	   xmlns:context="http://www.springframework.org/schema/context"
4
+	   xmlns:mvc="http://www.springframework.org/schema/mvc"
5
+	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
+	   xsi:schemaLocation="http://www.springframework.org/schema/beans
11
 		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
7
 		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
12
 		http://www.springframework.org/schema/context 
8
 		http://www.springframework.org/schema/context 
13
-		http://www.springframework.org/schema/context/spring-context-3.0.xsd 
14
-		http://www.springframework.org/schema/aop 
15
-		http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 
16
-		http://www.springframework.org/schema/tx 
17
-		http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
9
+		http://www.springframework.org/schema/context/spring-context-3.0.xsd
18
 		http://www.springframework.org/schema/mvc
10
 		http://www.springframework.org/schema/mvc
19
 		http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
11
 		http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
20
 
12
 

+ 3 - 11
xxl-job-executor-example/src/main/resources/applicationcontext-database.xml Dosyayı Görüntüle

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
-	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
5
-	xsi:schemaLocation="
6
-		http://www.springframework.org/schema/beans 
7
-		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
8
-		http://www.springframework.org/schema/context 
9
-		http://www.springframework.org/schema/context/spring-context-3.0.xsd 
10
-		http://www.springframework.org/schema/aop 
11
-		http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 
12
-		http://www.springframework.org/schema/tx 
13
-		http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
3
+	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	   xsi:schemaLocation="http://www.springframework.org/schema/beans
5
+		http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
14
 		
6
 		
15
 	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
7
 	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
16
 		<property name="fileEncoding" value="utf-8" />
8
 		<property name="fileEncoding" value="utf-8" />

+ 4 - 6
xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml Dosyayı Görüntüle

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
 <beans xmlns="http://www.springframework.org/schema/beans"
2
 <beans xmlns="http://www.springframework.org/schema/beans"
3
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
-	xmlns:util="http://www.springframework.org/schema/util"
5
-	xsi:schemaLocation="http://www.springframework.org/schema/beans
3
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+       xmlns:context="http://www.springframework.org/schema/context"
5
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
6
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
6
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7
            http://www.springframework.org/schema/context
7
            http://www.springframework.org/schema/context
8
-           http://www.springframework.org/schema/context/spring-context-3.0.xsd
9
-           http://www.springframework.org/schema/util 
10
-           http://www.springframework.org/schema/util/spring-util.xsd">
8
+           http://www.springframework.org/schema/context/spring-context-3.0.xsd">
11
 
9
 
12
 	<context:component-scan base-package="com.xxl.job.executor" />
10
 	<context:component-scan base-package="com.xxl.job.executor" />
13
 
11