Class LocalServiceRegistry.ConfigurationValidator

    • Constructor Detail

      • ConfigurationValidator

        public ConfigurationValidator()
    • Method Detail

      • checkForNonExportedLocal

        protected void checkForNonExportedLocal​(org.apache.commons.configuration2.Configuration configuration,
                                                String serviceType)
                                         throws ConfigurationException
        Checks whether the instances of the designated service type are exported or published in the designated properties. If so, they will be rebuked.
        Parameters:
        configuration - The configuration to check for export or publish properties.
        serviceType - The name of the service type to check the instances of.
        Throws:
        ConfigurationException - If an instance of the designated service type is exported or published, a ConfigurationException will be thrown.