Search in sources :

Example 1 with AbstractRMInterceptor

use of org.apache.cxf.ws.rm.AbstractRMInterceptor in project cxf by apache.

the class RMSoapInInterceptor method getManager.

private RMManager getManager(SoapMessage message) {
    InterceptorChain chain = message.getInterceptorChain();
    ListIterator<Interceptor<? extends Message>> it = chain.getIterator();
    while (it.hasNext()) {
        Interceptor<? extends Message> i = it.next();
        if (i instanceof AbstractRMInterceptor) {
            return ((AbstractRMInterceptor<? extends Message>) i).getManager();
        }
    }
    return null;
}
Also used : InterceptorChain(org.apache.cxf.interceptor.InterceptorChain) SoapMessage(org.apache.cxf.binding.soap.SoapMessage) Message(org.apache.cxf.message.Message) AbstractRMInterceptor(org.apache.cxf.ws.rm.AbstractRMInterceptor) AbstractRMInterceptor(org.apache.cxf.ws.rm.AbstractRMInterceptor) AbstractSoapInterceptor(org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor) BareInInterceptor(org.apache.cxf.wsdl.interceptors.BareInInterceptor) Interceptor(org.apache.cxf.interceptor.Interceptor) PhaseInterceptor(org.apache.cxf.phase.PhaseInterceptor)

Aggregations

SoapMessage (org.apache.cxf.binding.soap.SoapMessage)1 AbstractSoapInterceptor (org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor)1 Interceptor (org.apache.cxf.interceptor.Interceptor)1 InterceptorChain (org.apache.cxf.interceptor.InterceptorChain)1 Message (org.apache.cxf.message.Message)1 PhaseInterceptor (org.apache.cxf.phase.PhaseInterceptor)1 AbstractRMInterceptor (org.apache.cxf.ws.rm.AbstractRMInterceptor)1 BareInInterceptor (org.apache.cxf.wsdl.interceptors.BareInInterceptor)1