Interface PersistenceContextValidator
-
- All Known Implementing Classes:
InstanceCreationOfAbstractTypeValidator,NullableAttributePersistenceContextValidator,RequiredAttributePersistenceContextValidator
public interface PersistenceContextValidatorValidates the persistence context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(PersistenceContext context)Validates the context is valid before persistence.
-
-
-
Method Detail
-
validate
void validate(PersistenceContext context)
Validates the context is valid before persistence. If the context is not valid, an exception will be raised.- Parameters:
context- the context to validate
-
-