提交 2fa3b280 编写于 作者: 武汉红喜's avatar 武汉红喜

rename package name

上级 755d4847
package com.whatsmars.job;
package org.hongxi.whatsmars.job;
import org.springframework.context.support.ClassPathXmlApplicationContext;
......
......@@ -15,12 +15,12 @@
* </p>
*/
package com.whatsmars.job.dataflow;
package org.hongxi.whatsmars.job.dataflow;
import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.dataflow.DataflowJob;
import com.whatsmars.job.fixture.entity.Foo;
import com.whatsmars.job.fixture.repository.FooRepository;
import org.hongxi.whatsmars.job.fixture.entity.Foo;
import org.hongxi.whatsmars.job.fixture.repository.FooRepository;
import javax.annotation.Resource;
import java.text.SimpleDateFormat;
......
......@@ -15,7 +15,7 @@
* </p>
*/
package com.whatsmars.job.fixture.entity;
package org.hongxi.whatsmars.job.fixture.entity;
import java.io.Serializable;
......
......@@ -15,9 +15,9 @@
* </p>
*/
package com.whatsmars.job.fixture.repository;
package org.hongxi.whatsmars.job.fixture.repository;
import com.whatsmars.job.fixture.entity.Foo;
import org.hongxi.whatsmars.job.fixture.entity.Foo;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;
......
......@@ -15,12 +15,12 @@
* </p>
*/
package com.whatsmars.job.simple;
package org.hongxi.whatsmars.job.simple;
import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.whatsmars.job.fixture.entity.Foo;
import com.whatsmars.job.fixture.repository.FooRepository;
import org.hongxi.whatsmars.job.fixture.entity.Foo;
import org.hongxi.whatsmars.job.fixture.repository.FooRepository;
import javax.annotation.Resource;
import java.text.SimpleDateFormat;
......
......@@ -13,7 +13,7 @@
http://www.dangdang.com/schema/ddframe/job
http://www.dangdang.com/schema/ddframe/job/job.xsd
">
<context:component-scan base-package="com.whatsmars.job" />
<context:component-scan base-package="org.hongxi.whatsmars.job" />
<context:property-placeholder location="classpath:conf/*.properties" />
<bean id="elasticJobLog" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
......
......@@ -9,7 +9,7 @@ listener.distributed.startedTimeoutMilliseconds=1000
listener.distributed.completedTimeoutMilliseconds=3000
simple.id=springSimpleJob
simple.class=com.whatsmars.job.simple.SpringSimpleJob
simple.class=org.hongxi.whatsmars.job.simple.SpringSimpleJob
simple.cron=0/5 * * * * ?
simple.shardingTotalCount=3
simple.shardingItemParameters=0=Beijing,1=Shanghai,2=Guangzhou
......@@ -21,7 +21,7 @@ simple.overwrite=true
simple.monitorPort=9888
dataflow.id=springDataflowJob
dataflow.class=com.whatsmars.job.dataflow.SpringDataflowJob
dataflow.class=org.hongxi.whatsmars.job.dataflow.SpringDataflowJob
dataflow.cron=0/5 * * * * ?
dataflow.shardingTotalCount=3
dataflow.shardingItemParameters=0=Beijing,1=Shanghai,2=Guangzhou
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册