[infinispan-issues] [JBoss JIRA] (ISPN-4986) Error in CDI User Guide
Marcio Dantas (JIRA)
issues at jboss.org
Sat Jan 31 15:50:49 EST 2015
[ https://issues.jboss.org/browse/ISPN-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036624#comment-13036624 ]
Marcio Dantas commented on ISPN-4986:
-------------------------------------
Seems that for configuration and caches produced by the application using CDI, the correct interceptors should be the *Injected* ones:
<interceptors>
<class>org.infinispan.jcache.annotation.InjectedCachePutInterceptor</class>
<class>org.infinispan.jcache.annotation.InjectedCacheResultInterceptor</class>
<class>org.infinispan.jcache.annotation.InjectedCacheRemoveEntryInterceptor</class>
<class>org.infinispan.jcache.annotation.InjectedCacheRemoveAllInterceptor</class>
</interceptors>
Could this be enlightened in the documentation update?
> Error in CDI User Guide
> -----------------------
>
> Key: ISPN-4986
> URL: https://issues.jboss.org/browse/ISPN-4986
> Project: Infinispan
> Issue Type: Bug
> Components: CDI Integration
> Affects Versions: 6.0.2.Final, 7.0.0.Final
> Reporter: Bruno Palaoro
> Priority: Minor
>
> In the user guide, the classes of the cdi interceptors are wrong.
> Instead of org.infinispan.cdi.interceptor, as it was in previous versions, it should be org.infinispan.jcache.annotation. I've noticed this in the 6.x and 7.x versions of the user guide.
> http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_use_jcache_caching_annotations
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list