ay be obtained by calling
 <a href="BeanManager.html#createInterceptionFactory(jakarta.enterprise.context.spi.CreationalContext,java.lang.Class)"><code>BeanManager.createInterceptionFactory(CreationalContext, Class)</code></a> to be used in the create method of a custom bean for
 example.
 </p>

 <pre>
 public class MyCustomBean implements Bean&lt;MyClass&gt; {

     BeanManager bm;

     public MyCustomBean(BeanManager bm) {
         this.bm = bm;
     }

     public MyClass create(CreationalContext&lt;MyC