[
http://jira.jboss.com/jira/browse/JBSEAM-353?page=all ]
Pete Muir closed JBSEAM-353.
----------------------------
Fix Version/s: 2.0.1.GA
Resolution: Done
Assignee: Pete Muir
I documented that Seam interceptors only work as class/type level interceptors.
@Interceptors meta-annotation needs @Target(TYPE)
-------------------------------------------------
Key: JBSEAM-353
URL:
http://jira.jboss.com/jira/browse/JBSEAM-353
Project: JBoss Seam
Issue Type: Feature Request
Components: Documentation
Affects Versions: 1.0.1
Reporter: Stephan Bublava
Assigned To: Pete Muir
Priority: Minor
Fix For: 2.0.1.GA
The @Interceptors meta-annotation only works with @Target(TYPE). If you want to intercept
certain methods only, two cooperating annotations are required (as demonstrated by the
issue tracker example in CVS, which uses @LoggedIn and @CheckLoggedIn).
Since this is not obvious (at least to me), it should be explained in the documentation
(chapter 2.6. Seam interceptors).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira