Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-28

TCK - DeploymentTypeDefinitionTest [testDeploymentTypeDeclaredInheritedIsBlockedByIntermediateDeploymentTypes

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.0.0.CR1
    • None
    • None
    • None
    • 0
    • 0% 0%

      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.

            pmuiratbleepbleep Pete Muir (Inactive)
            gerdogdu@managecat.com Gurkan Erdogdu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: