修改:工程结构变更为 标准 maven 工程
This commit is contained in:
parent
99cb1ea3c8
commit
9a3314e0e6
14
pom.xml
14
pom.xml
@ -27,18 +27,4 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
|
||||
</testResource>
|
||||
</testResources>
|
||||
</build>
|
||||
|
||||
</project>
|
@ -1,8 +1,8 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import net.tccn.zhub.Rpc;
|
||||
import tccn.zhub.Rpc;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
/**
|
||||
* 发布订阅 事件
|
@ -1,4 +1,4 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
|
||||
import com.google.gson.reflect.TypeToken;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.tccn;
|
||||
package tccn;
|
||||
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.tccn.timer;
|
||||
package tccn.timer;
|
||||
|
||||
import net.tccn.timer.queue.TimerQueue;
|
||||
import net.tccn.timer.task.Task;
|
||||
import tccn.timer.queue.TimerQueue;
|
||||
import tccn.timer.task.Task;
|
||||
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
@ -1,8 +1,8 @@
|
||||
package net.tccn.timer;
|
||||
package tccn.timer;
|
||||
|
||||
import net.tccn.timer.scheduled.Scheduled;
|
||||
import net.tccn.timer.task.Job;
|
||||
import net.tccn.timer.task.Task;
|
||||
import tccn.timer.scheduled.Scheduled;
|
||||
import tccn.timer.task.Job;
|
||||
import tccn.timer.task.Task;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
@ -1,6 +1,6 @@
|
||||
package net.tccn.timer;
|
||||
package tccn.timer;
|
||||
|
||||
import net.tccn.timer.scheduled.ScheduledCycle;
|
||||
import tccn.timer.scheduled.ScheduledCycle;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.function.Supplier;
|
@ -1,6 +1,6 @@
|
||||
package net.tccn.timer.queue;
|
||||
package tccn.timer.queue;
|
||||
|
||||
import net.tccn.timer.task.Task;
|
||||
import tccn.timer.task.Task;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.concurrent.TimeUnit;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.timer.scheduled;
|
||||
package tccn.timer.scheduled;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.timer.scheduled;
|
||||
package tccn.timer.scheduled;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.temporal.ChronoUnit;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.timer.scheduled;
|
||||
package tccn.timer.scheduled;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.timer.task;
|
||||
package tccn.timer.task;
|
||||
|
||||
/**
|
||||
* @author: liangxianyou at 2018/12/8 17:24.
|
@ -1,7 +1,7 @@
|
||||
package net.tccn.timer.task;
|
||||
package tccn.timer.task;
|
||||
|
||||
import net.tccn.timer.TimerExecutor;
|
||||
import net.tccn.timer.scheduled.Scheduled;
|
||||
import tccn.timer.TimerExecutor;
|
||||
import tccn.timer.scheduled.Scheduled;
|
||||
|
||||
/**
|
||||
* @author: liangxianyou at 2018/8/5 19:32.
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.zhub;
|
||||
package tccn.zhub;
|
||||
|
||||
// ================================================== lock ==================================================
|
||||
public class Lock {
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.zhub;
|
||||
package tccn.zhub;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.annotations.Expose;
|
@ -1,4 +1,4 @@
|
||||
package net.tccn.zhub;
|
||||
package tccn.zhub;
|
||||
|
||||
public class RpcResult<R> {
|
||||
private String ruk;
|
@ -1,11 +1,11 @@
|
||||
package net.tccn.zhub;
|
||||
package tccn.zhub;
|
||||
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import net.tccn.AbstractConsumer;
|
||||
import net.tccn.Event;
|
||||
import net.tccn.IConsumer;
|
||||
import net.tccn.IProducer;
|
||||
import net.tccn.timer.Timers;
|
||||
import tccn.AbstractConsumer;
|
||||
import tccn.Event;
|
||||
import tccn.IConsumer;
|
||||
import tccn.IProducer;
|
||||
import tccn.timer.Timers;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
@ -1,9 +1,7 @@
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import net.tccn.IType;
|
||||
import net.tccn.zhub.RpcResult;
|
||||
import net.tccn.zhub.ZHubClient;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import tccn.IType;
|
||||
import tccn.zhub.ZHubClient;
|
||||
|
||||
// @RestService(automapping = true)
|
||||
public class HelloService {
|
||||
|
Loading…
Reference in New Issue
Block a user