Annotation Interface Prototype.Provides

Enclosing class:
Prototype

@Target(TYPE) @Inherited @Retention(CLASS) public static @interface Prototype.Provides
Types provided by this configured type. Complementary to Option.Provider.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
    Types this type provides, probably through ServiceLoader.
  • Element Details

    • value

      Class<?>[] value
      Types this type provides, probably through ServiceLoader. For example security expects a SecurityProvider - basic authentication provider is such a provider, so it can be marked to provide this type.
      Returns:
      types this configured type provides in addition to its qualified class name