Annotation Type PluginClassTypeMapping


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface PluginClassTypeMapping
    This annotation describes extra plugin-specific class types to be managed by the registry.

    The type, implementation and nodeName arrays are correlated 1-to-1.

    Author:
    nbaker
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<?>[] classTypes
      Returns an array of class types that the PluginType will track and respond to.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] implementationClass
      Returns as array of implementations that correspond to the class types in the Annotation
    • Element Detail

      • classTypes

        Class<?>[] classTypes
        Returns an array of class types that the PluginType will track and respond to. these classes are ususaly interfaces and the implementation class needs to decend from them
        Returns:
        array of class types
      • implementationClass

        Class<?>[] implementationClass
        Returns as array of implementations that correspond to the class types in the Annotation
        Returns:
        Default:
        {}