}
}
private static PhaseInterceptorChain getChain(Exchange ex, PhaseChainCache chainCache) {
Bus bus = ex.get(Bus.class);
Binding binding = ex.get(Binding.class);
Endpoint ep = ex.get(Endpoint.class);
List<Interceptor<? extends Message>> i1 = bus.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by bus: " + i1);
}
List<Interceptor<? extends Message>> i2 = ep.getService().getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by service: " + i2);
}
List<Interceptor<? extends Message>> i3 = ep.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by endpoint: " + i3);
}
List<Interceptor<? extends Message>> i4 = null;
if (binding != null) {
i4 = binding.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by binding: " + i4);
}
}
List<Interceptor<? extends Message>> i5 = null;