|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanValidationConfigurationLoader
A strategy to load BeanValidationConfiguration
's for bean clases.
Method Summary | |
---|---|
BeanValidationConfiguration |
loadConfiguration(Class clazz)
Loads the bean validation configuration for the given class. |
boolean |
supports(Class clazz)
Indicates whether the given class is supported by this loader. |
Method Detail |
---|
BeanValidationConfiguration loadConfiguration(Class clazz)
clazz
- The class for which the validation configuration will be loaded.
null
if no configuration could be
found.boolean supports(Class clazz)
loadConfiguration(Class)
will return
a validation configuration only for the supported classes. This method should typically be called to determine
whether the loadConfiguration(Class)
should be called.
clazz
- The class to be checked.
true
if this loader can load a valication configuration for the given class,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |