public static class ServiceRegistry.ConfigurationValidator extends LocalServiceRegistry.ConfigurationValidator
ServiceRegistry.| Constructor and Description |
|---|
ConfigurationValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
checkLicenceManager(Configuration configuration)
Checks the designated configuration for the licence manager.
|
protected void |
validate(Configuration configuration)
Checks that no
JDBC_DATA_SOURCE is exported. |
checkForNonExportedLocalcheckAllPluginTypes, checkPluginDeclaration, checkPluginInstances, checkRuntimePluginDeclarationrebuke, rebukeIllegalValue, rebukeMissingValueprotected java.util.List<java.lang.String> checkLicenceManager(Configuration configuration) throws ConfigurationException
configuration - The configuration which to check for a valid licence
manager configuration.null in case the
licence manager is not exported (rather rare).ConfigurationException - If the licence manager is published but
not exported, a private remote service or there are instances
declared, a ConfigurationException will be thrown.protected void validate(Configuration configuration) throws ConfigurationException
LocalServiceRegistry.ConfigurationValidatorJDBC_DATA_SOURCE is exported. This does not
work since Connections are not serialisable.validate in class LocalServiceRegistry.ConfigurationValidatorconfiguration - The configuration to check for properly configured
plugin types.ConfigurationException - If there are incorrectly configured plugin
types in the designated configuration, a
ConfigurationException will be thrown.PluginRegistry.ConfigurationValidator.checkAllPluginTypes(Configuration)