Bean Validation 1.1
The Bean Validation 1.1 specification provides an annotation based model for validating JavaBeans. It can be used to assert and maintain the integrity of data as it travels through an application.
Dieses Feature aktivieren
To enable the Bean Validation 1.1 feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>beanValidation-1.1</feature>
Feature entwickeln, das von diesem Feature abhängig ist
If you are developing a feature that depends on the Bean Validation 1.1 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.beanValidation-1.1; type="osgi.subsystem.feature"
Features, die dieses Feature aktiviert
Features, die dieses Feature aktivieren
Von diesem Feature bereitgestellte Standard-API-Pakete
- javax.validation
- javax.validation.bootstrap
- javax.validation.constraints
- javax.validation.constraintvalidation
- javax.validation.executable
- javax.validation.groups
- javax.validation.metadata
- javax.validation.spi
Featurekonfigurationselemente
You can use the following elements in your server.xml file to configure the Bean Validation 1.1 feature:
Referenzartikel