此内容没有您所选择的语言版本。
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:
- CDI Classes that begin with
Injectedbefore the classname, such asorg.infinispan.jcache.annotation.InjectedCacheResultInterceptor. These classes are intended for use in managed environments, such as JBoss EAP. - CDI classes without
Injectedbefore the classname, such asorg.infinispan.jcache.annotation.CacheResultInterceptor- This class should be used in standalone environments.