public static class LocalServiceRegistry.ConfigurationValidator extends PluginRegistry.ConfigurationValidator
ServiceRegistry.| Constructor and Description |
|---|
ConfigurationValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForNonExportedLocal(Configuration configuration,
java.lang.String serviceType)
Checks whether the instances of the designated service type are exported
or published in the designated properties.
|
protected void |
validate(Configuration configuration)
Checks that no
JDBC_DATA_SOURCE is exported. |
checkAllPluginTypes, checkPluginDeclaration, checkPluginInstances, checkRuntimePluginDeclarationrebuke, rebukeIllegalValue, rebukeMissingValueprotected void checkForNonExportedLocal(Configuration configuration, java.lang.String serviceType) throws ConfigurationException
configuration - The configuration to check for
export or
publish properties.serviceType - The name of the service type to check the instances
of.ConfigurationException - If an instance of the designated service
type is exported or published, a
ConfigurationException will be thrown.protected void validate(Configuration configuration) throws ConfigurationException
JDBC_DATA_SOURCE is exported. This does not
work since Connections are not serialisable.validate in class PluginRegistry.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)