Suppose we have following classes:
@Stateless |
public class Eagle<T> implements Bird<T> { |
}
|
public interface Bird<T> extends AnimalHolder<Animal<? extends T>>{ |
|
}
|
and
public interface AnimalHolder<T extends Animal> { |
}
|
Bean types of Bird bean should be only Object and Bird according to https://issues.jboss.org/browse/CDI-495 but there is also AnimalHolder class. |