From 3308dce4fca3a23daabc8f0b8c4bdb34c304ad40 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 24 Apr 2018 12:39:13 +0900 Subject: [PATCH] ing --- pom.xml | 7 +++++++ .../module/core/annotation/RPCService.java | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/main/java/com/loafle/overflow/module/core/annotation/RPCService.java diff --git a/pom.xml b/pom.xml index 4f4c4b4..c26fc1e 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,13 @@ ${gson.version} + + + org.springframework + spring-context + ${spring.version} + + org.springframework.data diff --git a/src/main/java/com/loafle/overflow/module/core/annotation/RPCService.java b/src/main/java/com/loafle/overflow/module/core/annotation/RPCService.java new file mode 100644 index 0000000..82842f1 --- /dev/null +++ b/src/main/java/com/loafle/overflow/module/core/annotation/RPCService.java @@ -0,0 +1,17 @@ +package com.loafle.overflow.module.core.annotation; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.springframework.core.annotation.AliasFor; +import org.springframework.stereotype.Component; + +@Target({ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Component +public @interface RPCService { + @AliasFor(annotation = Component.class) + String value() default ""; +}