From 0b055a3f554da3a934e79e88c4781705cbab5a21 Mon Sep 17 00:00:00 2001 From: renxue <auster_i@163.com> Date: 星期一, 24 十月 2022 11:40:26 +0800 Subject: [PATCH] 修改包下的类名 --- src/main/java/com/hz/canal/starter/annotation/CanalInsertListener.java | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/duxinglangzi/canal/starter/annotation/CanalInsertListener.java b/src/main/java/com/hz/canal/starter/annotation/CanalInsertListener.java similarity index 92% rename from src/main/java/com/duxinglangzi/canal/starter/annotation/CanalInsertListener.java rename to src/main/java/com/hz/canal/starter/annotation/CanalInsertListener.java index e3cde56..3001e1d 100644 --- a/src/main/java/com/duxinglangzi/canal/starter/annotation/CanalInsertListener.java +++ b/src/main/java/com/hz/canal/starter/annotation/CanalInsertListener.java @@ -1,29 +1,29 @@ -package com.duxinglangzi.canal.starter.annotation; - - -import com.alibaba.otter.canal.protocol.CanalEntry; -import org.springframework.core.annotation.AliasFor; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author wuqiong 2022/4/11 - */ -@Target(ElementType.METHOD) -@Retention(RetentionPolicy.RUNTIME) -@CanalListener(eventType = CanalEntry.EventType.INSERT) -public @interface CanalInsertListener { - - @AliasFor(annotation = CanalListener.class) - String destination(); - - @AliasFor(annotation = CanalListener.class) - String database(); - - @AliasFor(annotation = CanalListener.class) - String[] table(); - -} +package com.hz.canal.starter.annotation; + + +import com.alibaba.otter.canal.protocol.CanalEntry; +import org.springframework.core.annotation.AliasFor; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * @author wuqiong 2022/4/11 + */ +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +@CanalListener(eventType = CanalEntry.EventType.INSERT) +public @interface CanalInsertListener { + + @AliasFor(annotation = CanalListener.class) + String destination(); + + @AliasFor(annotation = CanalListener.class) + String database(); + + @AliasFor(annotation = CanalListener.class) + String[] table(); + +} -- Gitblit v1.8.0