2016-02-08 10:08 GMT+01:00 Michiel Meeuwissen <michiel.meeuwis...@gmail.com>:
> I'm trying to install the
> org.jsr107.ri.annotations.guice.module.CacheAnnotationsModule, hoping
> that that that would enable jsr107 cache annotations, so I can easily
> make the result of some methods cached just by adding a
> javax.cache.annotation.CacheResult.
>
> I suppose I have to install a custom platform--components.xml to
> provide that module to guice early enough in the bootstrap process.
> Probably I somehow have to call
> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder#addModule.
> But here I'm more or less stuck, or at least not certain that this is
> the correct way.
>
> Has somehow tried this before, or can point me in the right direction
> on how to do this?

I think I figured it out. It is work in progress, but something like
this is likely going to work:

https://github.com/vpro/jsr107-magnolia

Michiel


-- 
mihxil'  http://meeuw.org
0614591299
nl_NL eo_XX en_US


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to