Basic examples on cdi and beans validation
This commit is contained in:
20
test1_cdi/ClassI.java
Normal file
20
test1_cdi/ClassI.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package test1_cdi;
|
||||
|
||||
import javax.inject.Qualifier;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import static java.lang.annotation.ElementType.FIELD;
|
||||
import static java.lang.annotation.ElementType.METHOD;
|
||||
import static java.lang.annotation.ElementType.TYPE;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 26/04/2015.
|
||||
*/
|
||||
|
||||
@Qualifier
|
||||
@Retention(RUNTIME)
|
||||
@Target({FIELD, TYPE, METHOD})
|
||||
public @interface ClassI {
|
||||
}
|
||||
Reference in New Issue
Block a user