From 78d8262eb48f8fcae56095d45fe6543b759ba5b5 Mon Sep 17 00:00:00 2001 From: Emerson Oliveira Date: Fri, 2 Aug 2013 17:34:44 -0300 Subject: [PATCH] Adição de javadoc na classe br.gov.frameworkdemoiselle.annotation.Name --- impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Name.java | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+), 0 deletions(-) diff --git a/impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Name.java b/impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Name.java index 1bd68ff..10f798f 100644 --- a/impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Name.java +++ b/impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Name.java @@ -49,6 +49,40 @@ import java.lang.annotation.Target; import javax.enterprise.util.Nonbinding; import javax.inject.Qualifier; +/** + * This annotation is used to make passible: + * + * + * + *

+ * The examples below shows how these annotation could be used: + *

+ * + *

+ * + *
+ * public class NameConfig {
+ * 
+ * 	@Name("other.name.attrib")
+ *   private int nameOfAttribute;
+ *   ...
+ * }
+ * 
+ * public class NameResourceBundle {
+ * 
+ * 	@Name("other.name.bundle")
+ *   @Inject
+ *   private ResourceBundle bundle;
+ *   ...
+ * }
+ * 
+ *
+ * + * @author SERPRO + */ @Qualifier @Inherited @Retention(RUNTIME) -- libgit2 0.21.2