Annotation Type ConnectorClass


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface ConnectorClass
    This annotation must be present on each connector class.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends Configuration> configurationClass
      The configuration class for a given connector.
      java.lang.String displayNameKey
      The display name key.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String categoryKey
      Category the connector belongs to such as 'LDAP' or 'DB'.
      java.lang.String[] messageCatalogPaths
      The resource path(s) to the message catalog.
    • Element Detail

      • configurationClass

        java.lang.Class<? extends Configuration> configurationClass
        The configuration class for a given connector.
      • displayNameKey

        java.lang.String displayNameKey
        The display name key. This must be a key in the message catalog.
      • categoryKey

        java.lang.String categoryKey
        Category the connector belongs to such as 'LDAP' or 'DB'.
        Default:
        ""
      • messageCatalogPaths

        java.lang.String[] messageCatalogPaths
        The resource path(s) to the message catalog. Message catalogs are searched in the order given such that the first one wins. By default, if no paths are specified, we use connector-package.Messages.properties
        Default:
        {}