Re: @CacheResult not intercepted.

2018-02-14 Thread Luís Alves
Also found this: https://stackoverflow.com/questions/3837118/cdi-call-interceptor-annotated-method-within-same-instance Seems to be the same proposed solution on the Spring question... @ApplicationScoped @Transactional(value = TxType.SUPPORTS) public class MyService { @Injectprivate Provider self

@CacheResult not intercepted.

2018-02-14 Thread Luís Alves
This is not really DS specific, but DS might have some solutions. I'm using @CacheResult, but if I do a call from the same class the interceptor is not triggered so the cache doesn't work. I suffered from the same issue with Spring (describe here: https://stackoverflow.com/questions/16899604/sprin