| javax.enterprise.inject.Typed |
Restricts the bean types of a bean. May be applied to a bean class or producer method or field.
@Typed(Shop.class)
public class BookShop
extends Business
implements Shop<Book> {
...
}
When a @Typed annotation is specified,
only the types whose classes are explicitly listed using
the javax.enterprise.inject.Typed#value() value
member, along with Object, are bean
types of the bean.
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
| |||||||||||