org.springframework.jee.validation
Interface ValidationService
- All Known Implementing Classes:
- AutodetectValidationService, ReflectiveRuleBasedValidationService
public interface ValidationService
Interface to be implemented by services that can validate component
metadata before container startup
- Author:
- Rod Johnson
validate
int validate(DeploymentUnitMetadata dum)
throws InvalidDeploymentUnitException
- Perform validation checks on the given metadata, before
JEE components are deployed
- Parameters:
dum
- metadata to test
- Returns:
- the number of components validated
- Throws:
InvalidDeploymentUnitException
- if there are errors
Copyright 2006 Interface21. All Rights Reserved.