public abstract class AbstractValidationInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
protected static ResourceBundle |
BUNDLE |
protected static Logger |
LOG |
Constructor and Description |
---|
AbstractValidationInterceptor(String phase) |
Modifier and Type | Method and Description |
---|---|
protected BeanValidationProvider |
getProvider(Message message) |
protected Method |
getServiceMethod(Message message) |
protected Object |
getServiceObject(Message message) |
void |
handleMessage(Message message)
Intercepts a message.
|
protected abstract void |
handleValidation(Message message,
Object resourceInstance,
Method method,
List<Object> arguments) |
void |
setProvider(BeanValidationProvider provider) |
void |
setServiceObject(Object object) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
protected static final Logger LOG
protected static final ResourceBundle BUNDLE
public AbstractValidationInterceptor(String phase)
public void setServiceObject(Object object)
public void setProvider(BeanValidationProvider provider)
public void handleMessage(Message message)
Interceptor
protected abstract void handleValidation(Message message, Object resourceInstance, Method method, List<Object> arguments)
protected BeanValidationProvider getProvider(Message message)
Copyright © 2021 JBoss by Red Hat. All rights reserved.