summaryrefslogtreecommitdiff
path: root/javadoc/javax/inject/Qualifier.html
diff options
context:
space:
mode:
Diffstat (limited to 'javadoc/javax/inject/Qualifier.html')
-rw-r--r--javadoc/javax/inject/Qualifier.html22
1 files changed, 3 insertions, 19 deletions
diff --git a/javadoc/javax/inject/Qualifier.html b/javadoc/javax/inject/Qualifier.html
index 5e20a25..281fec8 100644
--- a/javadoc/javax/inject/Qualifier.html
+++ b/javadoc/javax/inject/Qualifier.html
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_13) on Tue Apr 28 17:34:50 PDT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_16) on Tue Jun 23 17:21:19 CDT 2009 -->
<TITLE>
Qualifier
</TITLE>
@@ -95,25 +95,9 @@ Annotation Type Qualifier</H2>
</PRE>
<P>
-Identifies qualifier annotations. A qualifier annotates an injectable field
- or parameter and, combined with the type, identifies the implementation to
- inject. Qualifiers are optional and no more than one should annotate a
- single field or parameter. The qualifiers are bold in the following
- example:
+Identifies qualifier annotations. Anyone can define a new qualifier. A
+ qualifier annotation:
- <pre>
- public class Car {
- &#064;Inject private <b>@Leather</b> Provider&lt;Seat> seatProvider;
-
- &#064;Inject void install(<b>@Tinted</b> Windshield windshield,
- <b>@Big</b> Trunk trunk) { ... }
- }</pre>
-
- <p>If one injectable method overrides another, the overriding method's
- parameters do not automatically inherit qualifiers from the overridden
- method's parameters.
-
- <p>Anyone can define a new qualifier. A qualifier annotation:
<ul>
<li>is annotated with <code>@Qualifier</code>, <code>@Retention(RUNTIME)</code>,
and typically <code>@Documented</code>.</li>