[weld-issues] [JBoss JIRA] Closed: (CDITCK-135) org.jboss.jsr299.tck.tests.context.dependent.TransactionalInterceptor violates 9.2
Marius Bogoevici (JIRA)
jira-events at lists.jboss.org
Tue Apr 13 15:50:49 EDT 2010
[ https://jira.jboss.org/jira/browse/CDITCK-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marius Bogoevici closed CDITCK-135.
-----------------------------------
Resolution: Done
Fixed w/revs 6111(1.1.0), 6112(1.0.2)
> org.jboss.jsr299.tck.tests.context.dependent.TransactionalInterceptor violates 9.2
> ----------------------------------------------------------------------------------
>
> Key: CDITCK-135
> URL: https://jira.jboss.org/jira/browse/CDITCK-135
> Project: CDI TCK
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.1.Final
> Reporter: Marius Bogoevici
> Assignee: Marius Bogoevici
> Fix For: 1.0.2.CR1, 1.1.0.CR1
>
>
> The specification states that:
> An interceptor for lifecycle callbacks may only declare interceptor binding types that are defined as @Target(TYPE). If an
> interceptor for lifecycle callbacks declares an interceptor binding type that is defined @Target({TYPE, METHOD}), the con-
> tainer automatically detects the problem and treats it as a definition error.
> TransactionalInterceptor has lifecycle methods and a @Transactional binding (which is defined @Target({TYPE, METHOD})).
> Resolution: Define TransactionalInterceptor as @Target({TYPE}) - it is not applied on methods anyway.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list