Class AbstractSafeInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.openehealth.ipf.commons.ihe.ws.cxf.AbstractSafeInterceptor
All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor, Interceptor<org.apache.cxf.binding.soap.SoapMessage>, PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
Direct Known Subclasses:
AbstractAuditInterceptor, FaultMessageOutInterceptor, InPayloadLoggerInterceptor, OutPayloadLoggerInterceptor

public abstract class AbstractSafeInterceptor extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
CXF interceptor which logs all errors instead of letting them break the processing flow.
Author:
Dmytro Rud
  • Constructor Details

    • AbstractSafeInterceptor

      protected AbstractSafeInterceptor(String phase)
      Constructs the interceptor.
      Parameters:
      phase - the phase in which the interceptor is run.
  • Method Details

    • process

      protected abstract void process(org.apache.cxf.binding.soap.SoapMessage message)
      Performs the actual work, being called from handleMessage(SoapMessage).
      Parameters:
      message - CXF message to process.
    • handleMessage

      public final void handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
      Calls process(org.apache.cxf.binding.soap.SoapMessage) and "forwards" all exceptions to the error log.
      Parameters:
      message - CXF message to process.