Skip to content

Commit

Permalink
tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin King committed Nov 9, 2009
1 parent 4f005c0 commit 52e3546
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions reference/en-US/injection.xml
Expand Up @@ -336,15 +336,17 @@ public class SynchronousReliablePaymentProcessor implements PaymentProcessor {
<title>Qualifiers on producer methods</title>

<para>
Even producer methods may specify qualifier annotations:
Even producer methods may specify qualifiers:
</para>

<programlisting role="JAVA"><![CDATA[@Produces @Asynchronous PaymentProcessor getPaymentProcessor() { ... }]]></programlisting>

<para>
This producer might create an asynchronous implementation powered by third party library such as Quartz
(though definitely check out the new scheduler support in EJB 3.1!).
</para>
<tip>
<para>
If we really need to create beans with asynchronous semantics, EJB 3.1 asynchronous methods are an
excellent solution.
</para>
</tip>

</section>

Expand Down

0 comments on commit 52e3546

Please sign in to comment.