[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6147) Scope type for directly extended managed bean annotated @Inherited should be inherited.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Apr 5 15:11:37 EDT 2010


Scope type for directly extended managed bean annotated @Inherited should be inherited.
---------------------------------------------------------------------------------------

                 Key: JBIDE-6147
                 URL: https://jira.jboss.org/jira/browse/JBIDE-6147
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi (jsr-299)
    Affects Versions: 3.2.next
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 3.2.next


Suppose a class X is extended directly or indirectly by the bean class of a managed bean or session bean Y. If X is annotated with a scope type Z then Y inherits the annotation if and only if Z declares the @Inherited meta-annotation and neither Y nor any intermediate class that is a subclass of X and a superclass of Y declares a scope type

See JSR-299 Spec. 4.1. Inheritance of type-level metadata

org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest.testScopeTypeDeclaredInheritedIsInherited() must pass. 

-- 
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 jbosstools-issues mailing list