well, if you want to use it from your app it should be as easy as
adding a beans.xml with the list of interceptors to enable
(org.apache.commons.jcs.jcache.cdi.CachePutInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheRemoveAllInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheRemoveInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheResultInterceptor)

Issue not relying on CDI 1.1 are:
1) no deterministic ordering for interceptors
2) no way to make it working in containers for free (need container
integration - for tomee it is not a big deal but jcs is not tomee
only)

Does this workaround works for you?



Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-02-23 9:42 GMT+01:00 hwaastad <[email protected]>:
> Hmm, okey.
>  I really hope you'll be able to make it 1.0 compliant aswell.
>
> I was actually trying to put the 2.0-snapshot into staging, but I probably
> have to reconsider if 1.1 is scheduled for 2.0 final.
> And then,maybe wait for TomEE 2.0.
>
> br hw
>
>
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673857.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to