3.2. JBoss Modules CDI Dependency

JBoss Modules CDI Dependencies

The package containing the CDI classes has changed. All of these classes have moved from org.infinispan.cdi to org.infinispan.cdi.embedded, and any applications utilizing CDI should have their imports updated to use the new packages.

Configuration of CDI/JCache

CDI Extensions have been split into two separate types of classes:

  1. CDI Classes that begin with Injected before the classname, such as org.infinispan.jcache.annotation.InjectedCacheResultInterceptor. These classes are intended for use in managed environments, such as JBoss EAP.
  2. CDI classes without Injected before the classname, such as org.infinispan.jcache.annotation.CacheResultInterceptor - This class should be used in standalone environments.