in core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java [60:132]
private void setupCustomizableInformation()
{
String basePackage = ExtValCoreConfiguration.get().customBasePackage();
if (basePackage == null)
{
basePackage = ExtValInformation.EXTENSIONS_VALIDATOR_BASE_PACKAGE_NAME + ".custom.";
}
if (!basePackage.endsWith("."))
{
basePackage = basePackage + ".";
}
customizableInfos.put(CustomInformation.BASE_PACKAGE, basePackage);
customizableInfos.put(CustomInformation.COMPONENT_META_DATA_EXTRACTOR,
"ComponentMetaDataExtractor");
customizableInfos.put(CustomInformation.VALIDATION_PARAMETER_EXTRACTOR,
"ValidationParameterExtractor");
customizableInfos.put(CustomInformation.VALIDATION_STRATEGY_POSTFIX,
"ValidationStrategy");
customizableInfos.put(CustomInformation.META_DATA_TRANSFORMER_POSTFIX,
"MetaDataTransformer");
customizableInfos.put(CustomInformation.VALIDATION_ERROR_MESSAGE_RESOLVER_POSTFIX,
"ValidationErrorMessageResolver");
customizableInfos.put(CustomInformation.COMPONENT_INITIALIZER,
"ComponentInitializer");
customizableInfos.put(CustomInformation.VALIDATION_EXCEPTION_INTERCEPTOR,
"ValidationExceptionInterceptor");
customizableInfos.put(CustomInformation.PROPERTY_VALIDATION_INTERCEPTOR,
"PropertyValidationInterceptor");
customizableInfos.put(CustomInformation.META_DATA_EXTRACTION_INTERCEPTOR,
"MetaDataExtractionInterceptor");
customizableInfos.put(CustomInformation.VALIDATION_STRATEGY_TO_MSG_RESOLVER_NAME_MAPPER,
"ValidationStrategyToMsgResolverNameMapper");
customizableInfos.put(CustomInformation.META_DATA_TO_VALIDATION_STRATEGY_NAME_MAPPER,
"MetaDataToValidationStrategyNameMapper");
customizableInfos.put(CustomInformation.VALIDATION_STRATEGY_TO_META_DATA_TRANSFORMER_NAME_MAPPER,
"ValidationStrategyToMetaDataTransformerNameMapper");
customizableInfos.put(CustomInformation.STARTUP_LISTENER,
"StartupListener");
customizableInfos.put(CustomInformation.MESSAGE_RESOLVER_FACTORY,
"MessageResolverFactory");
customizableInfos.put(CustomInformation.VALIDATION_STRATEGY_FACTORY,
"ValidationStrategyFactory");
customizableInfos.put(CustomInformation.COMPONENT_META_DATA_EXTRACTOR_FACTORY,
"ComponentMetaDataExtractorFactory");
customizableInfos.put(CustomInformation.VALIDATION_PARAMETER_EXTRACTOR_FACTORY,
"ValidationParameterExtractorFactory");
customizableInfos.put(CustomInformation.VALIDATION_PARAMETER_FACTORY,
"ValidationParameterFactory");
customizableInfos.put(CustomInformation.META_DATA_TRANSFORMER_FACTORY,
"MetaDataTransformerFactory");
customizableInfos.put(CustomInformation.FACES_MESSAGE_FACTORY,
"FacesMessageFactory");
customizableInfos.put(CustomInformation.STORAGE_MANAGER_FACTORY,
"StorageManagerFactory");
//conventions (the rest of the conventions are built with the help of name mappers,...
customizableInfos.put(CustomInformation.MESSAGE_BUNDLE_NAME,
"validation_messages");
//static strategy mappings (name of property files)
customizableInfos.put(CustomInformation.STATIC_STRATEGY_MAPPING_SOURCE,
"strategy_mappings");
customizableInfos.put(CustomInformation.META_DATA_STORAGE_FILTER,
"MetaDataStorageFilter");
}