|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.ConstraintCached
public class ConstraintCached
Description: hold the relationship annotation->validatedBy[] ConstraintValidator classes
that are already parsed in a cache.
Constructor Summary | |
---|---|
ConstraintCached()
|
Method Summary | ||
---|---|---|
boolean |
containsConstraintValidator(Class<? extends Annotation> annotationClass)
Learn whether we have cached the validator classes for the requested constraint annotation. |
|
|
getConstraintValidators(Class<A> annotationClass)
Get the cached validator classes for the requested constraint annotation. |
|
|
putConstraintValidator(Class<A> annotationClass,
Class<? extends ConstraintValidator<A,?>>[] definitionClasses)
Record the set of validator classes for a given constraint annotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintCached()
Method Detail |
---|
public <A extends Annotation> void putConstraintValidator(Class<A> annotationClass, Class<? extends ConstraintValidator<A,?>>[] definitionClasses)
annotationClass
- definitionClasses
- public boolean containsConstraintValidator(Class<? extends Annotation> annotationClass)
annotationClass
- to look up
public <A extends Annotation> Class<? extends ConstraintValidator<A,?>>[] getConstraintValidators(Class<A> annotationClass)
annotationClass
- to look up
ConstraintValidator
implementation types
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |