Author: nickarls
Date: 2009-11-23 17:41:27 -0500 (Mon, 23 Nov 2009)
New Revision: 5127
Modified:
doc/trunk/reference/en-US/injection.xml
doc/trunk/reference/en-US/interceptors.xml
Log:
minor: @NonBinding -> @Nonbinding
Modified: doc/trunk/reference/en-US/injection.xml
===================================================================
--- doc/trunk/reference/en-US/injection.xml 2009-11-23 21:41:07 UTC (rev 5126)
+++ doc/trunk/reference/en-US/injection.xml 2009-11-23 22:41:27 UTC (rev 5127)
@@ -308,7 +308,7 @@
<para>
We can force the container to ignore a member of a qualifier type by
annotating the member
- <literal>@NonBinding</literal>.
+ <literal>@Nonbinding</literal>.
</para>
<programlisting role="JAVA"><![CDATA[@Qualifier
@@ -316,7 +316,7 @@
@Target({METHOD, FIELD, PARAMETER, TYPE})
public @interface PayBy {
PaymentMethod value();
- @NonBinding String comment() default "";
+ @Nonbinding String comment() default "";
}]]></programlisting>
</section>
@@ -730,7 +730,7 @@
@Retention(RUNTIME)
@Target({TYPE, METHOD, FIELD, PARAMETER})
public @interface HttpParam {
- @NonBinding public String value();
+ @Nonbinding public String value();
}]]></programlisting>
<para>We would use this qualifier type at injection points as
follows:</para>
@@ -750,7 +750,7 @@
}]]></programlisting>
<para>(Note that the <literal>value()</literal> member of the
<literal>HttpParam</literal>
- annotation is ignored by the container since it is annotated
<literal>(a)NonBinding.</literal>)</para>
+ annotation is ignored by the container since it is annotated
<literal>(a)Nonbinding.</literal>)</para>
<para>The container provides a built-in bean that implements the
<literal>InjectionPoint</literal>
interface:</para>
Modified: doc/trunk/reference/en-US/interceptors.xml
===================================================================
--- doc/trunk/reference/en-US/interceptors.xml 2009-11-23 21:41:07 UTC (rev 5126)
+++ doc/trunk/reference/en-US/interceptors.xml 2009-11-23 22:41:27 UTC (rev 5127)
@@ -219,14 +219,14 @@
<para>
But what if we only have one interceptor and we want the container to ignore the
value of
<literal>requiresNew</literal> when binding interceptors? Perhaps
this information is only useful for the
- interceptor implementation. We can use the
<literal>@NonBinding</literal> annotation:
+ interceptor implementation. We can use the
<literal>@Nonbinding</literal> annotation:
</para>
<programlisting role="JAVA"><![CDATA[@InterceptorBinding
@Target({METHOD, TYPE})
@Retention(RUNTIME)
public @interface Secure {
- @NonBinding String[] rolesAllowed() default {};
+ @Nonbinding String[] rolesAllowed() default {};
}]]></programlisting>
</section>
Show replies by date