|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface Component
Defines a component implementation. A hint can be specified to differentiate this implementation from another one.
Optional Element Summary | |
---|---|
String[] |
hints
Sometimes you want to register the component several times with different hints. |
Class<?>[] |
roles
When specified forces the component to be registered as many times as there are roles specified. |
String |
value
Deprecated. since 3.1M1 use the @Named annotation instead |
@Deprecated public abstract String value
@Named
annotation instead
public abstract String[] hints
public abstract Class<?>[] roles
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |