Good question. Looks like when Interceptors spec was created from the
EJB spec, the PrePassivate/PostActivate callbacks were left in the EJB
spec, while the rest was moved out.
We have (obviously) two choices:
1) add the method signatures (back) to the EJB spec section "7.5
Interceptors for LifeCycle Event Callbacks"
2) change the Interceptors spec to distinguish between the LC
interceptors in general and the ones that are supported (i.e.
PostConstruct/PreDestroy).
WDYT?
thanks,
-marina
On 1/8/13 6:36 AM, Mark Struberg wrote:
> Hi folks!
>
> The method signatures for @AroundInvoke and @PostConstruct _interceptors_ (not the postconstruct lifecycle methods, but the interceptors for them!) are well defined in the interceptors spec.
>
>
>
> But what about the method signatures for an interceptor for @PostActivate and the others which are defined in InterceptionType [1]?
> I didn't find anything about them in the interceptors spec. Where can I find this info?
>
>
> txs and LieGrue,
> strub
>
> [1] http://docs.oracle.com/javaee/6/api/javax/enterprise/inject/spi/InterceptionType.html
>