Annotation Type Plugin
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface Plugin
Simplifies work with guice multibindings. Annotate one or more beans with extension point declaration (interface) and you then can autowire collection of found plugins. Internally each bean is registered intoMultibinder
.To use
or if name set.MapBinder
create your own annotation with single attributevalue
and annotate it with@Plugin
. New annotation value will be used as key.- Since:
- 08.10.2014
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
value
-