This commit is contained in:
crusader 2018-04-24 12:39:13 +09:00
parent b0c7bc1240
commit 3308dce4fc
2 changed files with 24 additions and 0 deletions

View File

@ -30,6 +30,13 @@
<version>${gson.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-commons-core -->
<dependency>
<groupId>org.springframework.data</groupId>

View File

@ -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 "";
}