blic MyClass produceMyClass(InterceptionFactory&lt;MyClass&gt; factory) {
     factory.configure().add(new AnnotationLiteral&lt;Transactional&gt;() {
     });
     return factory.createInterceptedInstance(new MyClass());
 }
 </pre>

 <p>
 Instances of this class are neither reusable nor suitable for sharing between threads.
 </p>

 <p>
 CDI Lite implementations are not required to provide support for <code>InterceptionFactory</code>.
 </p></div>
<dl class="notes">
<dt>Since:</dt>
<dd>2.0</dd>
<dt>Author:</d