Hi ;
In this test, InfertileChicken is selected for Chicken API type, because DeploymentType
precedence is higher than Chicken. So *egg* field is called over InfertileChicken.(Field
parent instance API Type = Chicken and Binding Type = @Current)
But test is contradicted to this. Or any other semantic exist?
@AnotherDeploymentType
class InfertileChicken extends Chicken
{
}
class Chicken
{
@Produces @Foo
private Egg egg = new Egg(this);
}
Thanks;
Gurkan