From d53f42e880ca05a483e68d88224c89b3f36bca43 Mon Sep 17 00:00:00 2001 From: Bob Lee Date: Tue, 13 Oct 2009 19:55:36 +0000 Subject: Uploaded final spec. git-svn-id: https://atinject.googlecode.com/svn/trunk@56 3bc8319c-20ab-11de-9edc-3f40a397ab60 --- javadoc/javax/inject/Qualifier.html | 194 ++++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 javadoc/javax/inject/Qualifier.html (limited to 'javadoc/javax/inject/Qualifier.html') diff --git a/javadoc/javax/inject/Qualifier.html b/javadoc/javax/inject/Qualifier.html new file mode 100644 index 0000000..465959c --- /dev/null +++ b/javadoc/javax/inject/Qualifier.html @@ -0,0 +1,194 @@ + + + + + + +Qualifier + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +javax.inject +
+Annotation Type Qualifier

+
+
+
@Target(value=ANNOTATION_TYPE)
+@Retention(value=RUNTIME)
+@Documented
+public @interface Qualifier
+ + +

+Identifies qualifier annotations. Anyone can define a new qualifier. A + qualifier annotation: + +

+ +

For example: + +

+   @java.lang.annotation.Documented
+   @java.lang.annotation.Retention(RUNTIME)
+   @javax.inject.Qualifier
+   public @interface Leather {
+     Color color() default Color.TAN;
+     public enum Color { RED, BLACK, TAN }
+   }
+

+ +

+

+
See Also:
@Named
+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright (C) 2009 The JSR-330 Expert Group. Licensed under the Apache License, Version 2.0. + + -- cgit v1.2.3