Annotation Interface Plugin


@Retention(RUNTIME) @Target(TYPE) public @interface Plugin
An annotation, on a plugin implementation class, that identifies the class of "config record" consumed by that implementation. Use @Plugin(configType=Void.class) if a plugin implementation class doesn't require configuration.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • configType

      Class<?> configType
      Returns:
      The type of configuration associated with the plugin implementation.