17 lines
356 B
Java
17 lines
356 B
Java
package common;
|
|
|
|
import org.springframework.core.annotation.AliasFor;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
@Target({ElementType.TYPE})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
@Component
|
|
public @interface PersistenceAdapter {
|
|
|
|
@AliasFor(annotation = Component.class)
|
|
String value() default "";
|
|
}
|