users@interceptors-spec.java.net

[interceptors-spec users] Re: [jsr345-experts] Interceptors 1.2 and constructor- and method-level interceptors

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Mon, 18 Mar 2013 17:32:19 -0700

I uploaded the following files to the java.net interceptors project:

MR with changes for constructor- and method-level interceptors
<http://java.net/projects/interceptors-spec/downloads/download/interceptor-1-2-mrel-0318.pdf>
- the updated document with the changed bars for all changes except
InvocationContext.getConstructor to return a parameterized type.

Diff between 0318 version and MR candidate
<http://java.net/projects/interceptors-spec/downloads/download/Chapters-0318-diff.pdf>
- the diff for all chapters from the previous version (which include the
getConstructor changes)

javadoc with 0318 changes
<http://java.net/projects/interceptors-spec/downloads/download/javadoc-03162013.zip>
- the javadoc

The latest change log can be seen here:
http://java.net/projects/interceptors-spec/sources/interceptors-spec-repository/content/1.2/Interceptors-1.2-changes.txt?rev=20
(the changes include added bullets #8-10).

Please review ASAP - I need to send the final update for teh spec and
the javadoc to the JCP by the 23rd.

Best,
-marina

On 3/14/13 11:32 AM, Marina Vatkina wrote:
> 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