Created
February 19, 2016 12:14
-
-
Save dilnei/83e6cec3dd9d916ca21b to your computer and use it in GitHub Desktop.
Diz que os repositorios são dependentes do CDI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.beamasset.model.annotation; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
import javax.enterprise.context.Dependent; | |
import javax.enterprise.inject.Stereotype; | |
/** | |
* Define that repositorys are dependents of the CDI. | |
* | |
* @author Dilnei_Cunha | |
*/ | |
@Dependent | |
@Stereotype | |
@Target(ElementType.TYPE) | |
@Retention(RetentionPolicy.RUNTIME) | |
public @interface Repository { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment