Package org.apache.cxf.validation
Class AbstractBeanValidationInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.validation.AbstractValidationInterceptor
-
- org.apache.cxf.validation.AbstractBeanValidationInterceptor
-
- All Implemented Interfaces:
AutoCloseable,Interceptor<Message>,PhaseInterceptor<Message>
- Direct Known Subclasses:
BeanValidationInInterceptor,ClientBeanValidationOutInterceptor
public abstract class AbstractBeanValidationInterceptor extends AbstractValidationInterceptor
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
BUNDLE, LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBeanValidationInterceptor(String phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodgetServiceMethod(Message message)protected ObjectgetServiceObject(Message message)protected voidhandleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)protected List<Object>unwrapArgs(List<Object> arguments)-
Methods inherited from class org.apache.cxf.validation.AbstractValidationInterceptor
close, getProvider, handleMessage, setProvider, setServiceObject
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
AbstractBeanValidationInterceptor
protected AbstractBeanValidationInterceptor(String phase)
-
-
Method Detail
-
getServiceObject
protected Object getServiceObject(Message message)
- Overrides:
getServiceObjectin classAbstractValidationInterceptor
-
getServiceMethod
protected Method getServiceMethod(Message message)
- Overrides:
getServiceMethodin classAbstractValidationInterceptor
-
handleValidation
protected void handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)
- Specified by:
handleValidationin classAbstractValidationInterceptor
-
-