Skip navigation

News

Most Recent
Profile Photo
In wildfly 17, I can use the following code to inject the cache (provided by infinispan):   // no need for web.xml resource-ref @Resource(lookup="java:jboss/infinispan/container/my-cache") private EmbeddedCacheManager cacheManager;  I have included the official jcache-lib (and not the infinispan-jcache) within my pom.xml:  

Profile Photo
Suppose I get my hands on a Bean via successful bean resolution:   final Bean<?> bean = beanManager.resolve(someBeans);   Now I want to programmatically get a contextual reference for it.   I have done this sort of thing many, many times over the years.  But I've never been clear on the creation of the CreationalContext