Package kieker.monitoring.probe.cxf
Class OperationExecutionSOAPRequestOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
kieker.monitoring.probe.cxf.OperationExecutionSOAPRequestOutInterceptor
- All Implemented Interfaces:
IMonitoringProbe,org.apache.cxf.binding.soap.interceptor.SoapInterceptor,org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class OperationExecutionSOAPRequestOutInterceptor
extends org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
implements IMonitoringProbe
- Since:
- 0.91
- Author:
- Dennis Kieselhorst, Andre van Hoorn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ControlFlowRegistryStores the singleton instance of the control flow registry.protected final IMonitoringControllerNote we are using this IMonitoringController only to access ITimeSource which is configured for the singleton instance, as this is the instance used by the corresponding other CXF probes.static final StringThis constant can be used as a session ID for asynchronous traces.protected static final SessionRegistryStores the singleton instance of the session registry.protected static final SOAPTraceRegistryStores the singleton instance of the SOAP trace registry.protected final ITimeSourceThe used time source.Fields inherited from class org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
INSTANCE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this class, using the singleton instance of theMonitoringControlleras controller.OperationExecutionSOAPRequestOutInterceptor(IMonitoringController monitoringCtrl) Creates a new instance of this class, using the given instance of aMonitoringControlleras controller. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.binding.soap.SoapMessage msg) Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
-
Field Details
-
SESSION_ID_ASYNC_TRACE
This constant can be used as a session ID for asynchronous traces.- See Also:
-
CF_REGISTRY
Stores the singleton instance of the control flow registry. -
SESSION_REGISTRY
Stores the singleton instance of the session registry. -
SOAP_REGISTRY
Stores the singleton instance of the SOAP trace registry. -
monitoringController
Note we are using this IMonitoringController only to access ITimeSource which is configured for the singleton instance, as this is the instance used by the corresponding other CXF probes. Depending on the configuration, the time may differ from Kieker's default timer (SystemNanoTimer). -
timeSource
The used time source.
-
-
Constructor Details
-
OperationExecutionSOAPRequestOutInterceptor
public OperationExecutionSOAPRequestOutInterceptor()Creates a new instance of this class, using the singleton instance of theMonitoringControlleras controller. -
OperationExecutionSOAPRequestOutInterceptor
Creates a new instance of this class, using the given instance of aMonitoringControlleras controller.- Parameters:
monitoringCtrl- The controller of this interceptor.
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg) throws org.apache.cxf.interceptor.Fault - Specified by:
handleMessagein interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>- Overrides:
handleMessagein classorg.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor- Throws:
org.apache.cxf.interceptor.Fault
-