Class ServiceRegistry.ConfigurationValidator

    • Constructor Detail

      • ConfigurationValidator

        public ConfigurationValidator()
    • Method Detail

      • checkLicenceManager

        protected List<String> checkLicenceManager​(org.apache.commons.configuration2.Configuration configuration)
                                            throws ConfigurationException
        Checks the designated configuration for the licence manager. If there is an implementation specified, there must not be any declared instances and it must not be a private remote service. It should be published (and also exported).
        Parameters:
        configuration - The configuration which to check for a valid licence manager configuration.
        Returns:
        The instance names of all communication services the licence manager is to be exported with or null in case the licence manager is not exported (rather rare).
        Throws:
        ConfigurationException - If the licence manager is published but not exported, a private remote service or there are instances declared, a ConfigurationException will be thrown.