org.apache.myfaces.extensions.validator.core
Interface ExtValModuleConfigurationResolver
public interface ExtValModuleConfigurationResolver
Allows the retrieval of a custom configuration object.
- Since:
- r4
getCustomConfiguration
<T extends ExtValModuleConfiguration> ExtValModuleConfiguration getCustomConfiguration(Class<T> configType)
- Retrieves the custom configuration which matches the given config-type.
The type of the parameter is one of the abstract classes which directly implements the
ExtValModuleConfiguration interface, like ExtValCoreConfiguration.
The returned config has to extend one of the abstract config classes.
(The method isn't allowed to return null except
for the case that a custom configuration for that type is defined via a web.xml context-param.)
- Type Parameters:
T - - Parameters:
configType - Class that specifies the type of the target config.
- Returns:
- Configuration object which will be used by ExtVal.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.