Interface GenericProvider

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getLabel​(java.lang.String lang)
      returns the label of the provider
      default java.lang.String getName()
      returns the name of the provider
      default void init​(java.lang.String providerName, JProperties subProperties)
      this method is called on provider's initialization
      default boolean isInitialized()
      indicate if the provider is correctly initialized
    • Method Detail

      • getName

        default java.lang.String getName()
        returns the name of the provider
        Returns:
        the name of the provider
      • getLabel

        default java.lang.String getLabel​(java.lang.String lang)
        returns the label of the provider
        Parameters:
        lang - the language of the label
        Returns:
        the label of the provider
      • init

        default void init​(java.lang.String providerName,
                          JProperties subProperties)
        this method is called on provider's initialization
        Parameters:
        providerName - the name of the provider, from class configuration property
        subProperties - the properties with the same prefix than the property describing the provider class
      • isInitialized

        default boolean isInitialized()
        indicate if the provider is correctly initialized
        Returns:
        true if the provider is correctly initialized, false otherwise