...
Phase | Functions |
---|---|
SETUP | Any set up for the following phases |
(PRE/USER/POST)_LOGICAL | Processing of objects about to marshalled |
PREPARE_SEND | Opening of the connection |
PRE_STREAM |
|
PRE_PROTOCOL | Misc protocol actions. |
WRITE | Writing of the protocol message, such as the SOAP Envelope. |
MARSHAL | Marshalling of the objects |
(USER/POST)_PROTOCOL | Processing of the protocol message. |
(USER/POST)_STREAM | Processing of the byte level message |
SEND Final sending of message and closing of transport stream |
|
After the SEND phase, there are a bunch of "*_ENDING" phases that are symmetrical to the above phases to allow the interceptors to cleanup and close anything that they had opened or started in the above phases:
Phase | Functions |
---|---|
SEND_ENDING |
|
POST_STREAM_ENDING |
|
USER_STREAM_ENDING |
|
POST_PROTOCOL_ENDING |
|
USER_PROTOCOL_ENDING |
|
MARSHAL_ENDING |
|
WRITE_ENDING |
|
PRE_PROTOCOL_ENDING |
|
PRE_STREAM_ENDING |
|
PREPARE_SEND_ENDING |
|
POST_LOGICAL_ENDING |
|
USER_LOGICAL_ENDING |
|
PRE_LOGICAL_ENDING |
|
SETUP_ENDING | Usually results in all the streams being closed and the final data being sent on the wire. |
InterceptorProviders
Several different components inside CXF may provide interceptors to an InterceptorChain. These implement the InterceptorProvider interface:
...