Files
spring-boot-rest/spring-all/src/main/java/org/baeldung/customannotation/DataAccess.java
2016-01-30 12:01:41 +02:00

15 lines
420 B
Java

package org.baeldung.customannotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD })
@Documented
public @interface DataAccess {
Class<?> entity();
}