AbstractValidationInterceptor (Apache CXF JavaDoc 3.0.4.redhat-621177 API)

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>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static ResourceBundle` | `BUNDLE`
    `protected static Logger` | `LOG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractValidationInterceptor(String phase)`

  - ### Method Summary

    Methods
    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)`

    - ### 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`

- - ### Field Detail

    - #### LOG

          protected static final Logger LOG

    - #### BUNDLE

          protected static final ResourceBundle BUNDLE

  - ### Constructor Detail

    - #### AbstractValidationInterceptor

          public AbstractValidationInterceptor(String phase)

  - ### Method Detail

    - #### 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