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.

or if name set.
Since:
08.10.2014
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      Class<?> value
      Returns:
      Plugin type.