org.apache.cxf.validation
Class AbstractValidationInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.validation.AbstractValidationInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
- Direct Known Subclasses:
- BeanValidationInInterceptor, BeanValidationOutInterceptor
public abstract class AbstractValidationInterceptor
- extends AbstractPhaseInterceptor<Message>
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
BUNDLE
protected static final ResourceBundle BUNDLE
AbstractValidationInterceptor
public AbstractValidationInterceptor(String phase)
setServiceObject
public void setServiceObject(Object object)
setProvider
public void setProvider(BeanValidationProvider provider)
handleMessage
public void handleMessage(Message message)
throws Fault
- Description copied from interface:
Interceptor
- Intercepts a message.
Interceptors should NOT invoke handleMessage or handleFault
on the next interceptor - the interceptor chain will
take care of this.
- Throws:
Fault
getServiceObject
protected Object getServiceObject(Message message)
getServiceMethod
protected Method getServiceMethod(Message message)
handleValidation
protected abstract void handleValidation(Message message,
Object resourceInstance,
Method method,
List<Object> arguments)
getProvider
protected BeanValidationProvider getProvider(Message message)
Apache CXF