tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: CDI Interceptors to intercept all EJB @Schedule methods
Date Thu, 20 Sep 2018 09:51:07 GMT
Hi,

did you put @AroundTimeout on the interceptor method? AroundInvoke is not
triggered for @Schedule.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le jeu. 20 sept. 2018 à 11:45, cocorossello <cocorossello@gmail.com> a
écrit :

> Hi,
>
> Is there any way to apply a CDI interceptor to existing @Schedule without
> explicitly usign @Interceptors in all methods? I haven't found anything in
> the spec.
>
> Or is there any easy way to create my own @Schedule CDI interceptor?
>
> Thanks in advance.
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message