Interface GlobalConfiguration<T>

  • Type Parameters:
    T - The annotated configuration class containing the service's global attributes.

    public interface GlobalConfiguration<T>
    This interface identifies the ServiceComponentConfig as containing configuration that is applied globally.
    • Method Detail

      • global

        T global()
        Gets the configuration instance for the services global configuration.
        Returns:
        The configuration instance containing the global service attributes.
        Throws:
        IllegalStateException - If the configuration does not adhere to the given service interface's types.
        ServiceConfigException - If the configuration could not be retrieved.