Annotation 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 into
Multibinder.
To use MapBinder create your own annotation with single
attribute value and annotate it with @Plugin. New annotation value will be used as key.
- Since:
- 08.10.2014
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> value- Returns:
- Plugin type.
-