lass&gt; creationalContext) {

         InterceptionFactory&lt;MyClass&gt; factory = bm.createInterceptionFactory(creationalContext, MyClass.class);

         factory.configure().filterMethods(m -&gt; m.getJavaMember().getName().equals("shouldBeTransactional")).findFirst()
                 .ifPresent(m -&gt; m.add(new AnnotationLiteral&lt;Transactional&gt;() {
                 }));

         return factory.createInterceptedInstance(new MyClass());
     }
 }
 </pre>

 <p>
 The container must also provide a b