[webbeans-issues] [JBoss JIRA] Created: (WBTCK-29) TCK - DeploymentTypeDefinitionTest [testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypes

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Fri Mar 13 20:00:22 EDT 2009


TCK - DeploymentTypeDefinitionTest [testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypes
-------------------------------------------------------------------------------------------------------------

                 Key: WBTCK-29
                 URL: https://jira.jboss.org/jira/browse/WBTCK-29
             Project: JSR-299 TCK
          Issue Type: Feature Request
            Reporter: Gurkan Erdogdu


Hi;

class GoldenRetriever extends Retriever

@NotInheritedDeploymentType
class Retriever extends Dog

@AnotherDeploymentType
class Dog

In this test case, GoldenRetriever does not inherit the Dog's deployment type in the TCK. But,  I think that if  bean does not define DeploymentType then it inherits deployment type from their super classes, directly or indirectly. Therefore, I think it inherits the Dog's deployment type.

It is good idea to inherit from the superclasses if  intermediate classes does not provide types, even if provide but not inherited.




-- 
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