jsr345-experts@ejb-spec.java.net

[jsr345-experts] Interceptors 1.2 and constructor- and method-level interceptors

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 14 Mar 2013 11:32:50 -0700

This is a heads-up on the upcoming changes to the Interceptors 1.2 spec
to allow associating interceptors with a specific bean constructor or
lifecycle callback method. These changes will address the following
issues logged under the interceptors-spec JIRA:

INTERCEPTORS_SPEC-12 <http://java.net/jira/browse/INTERCEPTORS_SPEC-12>
     Add Constructor-level binding concept and proper @Target on annotations
INTERCEPTORS_SPEC-13 <http://java.net/jira/browse/INTERCEPTORS_SPEC-13>
     Method-level interceptors should include the constructor-level as well
INTERCEPTORS_SPEC-14 <http://java.net/jira/browse/INTERCEPTORS_SPEC-14>
     Method-level interceptors should be allowed for all interceptor types
INTERCEPTORS_SPEC-15 <http://java.net/jira/browse/INTERCEPTORS_SPEC-15>
     InvocationContext.getMethod method to return null only for the
AroundConstruct lifecycle callback interceptor

The changes are required to allow BV on a constructor and a choice of
@Transactional interceptor on a bean LC callback method.

Let me know ASAP if you have any issues with the requested changes.

thanks,
-marina