@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Component
Modifier and Type | Optional Element and Description |
---|---|
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.
|
boolean |
staticRegistration |
String |
value
Deprecated.
since 3.1M1 use the
@Named annotation instead |
@Deprecated public abstract String value
@Named
annotation insteadpublic abstract String[] hints
public abstract Class<?>[] roles
Copyright © 2004–2021 XWiki. All rights reserved.