public final class MethodValidator extends Object
We do this manual processing of javax.validation.constraints.*
annotations only because
JSR-303 in its current version doesn't support method level validation
(see its Appendix C). At the moment we don't support anything expect these
two annotations. We think that it's better to wait for JSR-303.
The class is immutable and thread-safe.
Constructor and Description |
---|
MethodValidator()
Default public ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
beforeCtor(org.aspectj.lang.JoinPoint point)
Catch exception and log it.
|
void |
beforeMethod(org.aspectj.lang.JoinPoint point)
Catch exception and log it.
|
public void beforeMethod(org.aspectj.lang.JoinPoint point)
point
- Join pointpublic void beforeCtor(org.aspectj.lang.JoinPoint point)
point
- Join pointCopyright © 2012-2013 jcabi.com. All Rights Reserved.