public void configure() {
InvocationChain bindingChain = endpoint.getBindingInvocationChain();
if (wfProvider != null) {
Interceptor interceptor = wfProvider.createInterceptor();
if (interceptor != null) {
bindingChain.addInterceptor(Phase.SERVICE_BINDING_WIREFORMAT, interceptor);
}
}
if (wfResponseProvider != null) {
Interceptor interceptor = wfResponseProvider.createInterceptor();
if (interceptor != null) {
bindingChain.addInterceptor(Phase.SERVICE_BINDING_WIREFORMAT, interceptor);
}
}
if (osProvider != null) {
Interceptor interceptor = osProvider.createInterceptor();
if (interceptor != null) {
bindingChain.addInterceptor(Phase.SERVICE_BINDING_OPERATION_SELECTOR, interceptor);
}
}