org.apache.avalon.phoenix.interfaces
Interface ConfigurationValidatorMBean
- All Known Implementing Classes:
- DelegatingConfigurationValidator, JarvConfigurationValidator, NoopConfigurationValidator
- public interface ConfigurationValidatorMBean
Management interface to the Configuration Validator
- Author:
- Peter Royal
- See Also:
ConfigurationValidator
getSchemaType
public String getSchemaType(String application,
String block)
- Get the schema type for the specified application and block. Returns
null if no schema
- Parameters:
application
- to get schema forblock
- to get schema for- Returns:
- schema type, or null if none exists
getSchema
public String getSchema(String application,
String block)
- Get the XML that represents the schema for the specified application and block.
Returns null if no schema.
- Parameters:
application
- to get schema forblock
- to get schema for- Returns:
- schema as string, or null if none exists
isValid
public boolean isValid(String application,
String block,
Configuration configuration)
throws ConfigurationException
- Check to see if configuration is valid.
- Parameters:
application
- Application nameblock
- Block name to store configuration forconfiguration
- Configuration to check- Returns:
- true if configuration is valid
- Throws:
ConfigurationException
- if no schema is found- See Also:
ConfigurationValidator.isValid(java.lang.String, java.lang.String, org.apache.avalon.framework.configuration.Configuration)
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.