chain.add(((InterceptorProvider)m.getDestination()).getOutInterceptors());
}
}
private PhaseInterceptorChain getChain(Exchange ex) {
Bus bus = ex.get(Bus.class);
Binding binding = ex.get(Binding.class);
Endpoint ep = ex.get(Endpoint.class);
List<Interceptor> i1 = bus.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by bus: " + i1);
}
List<Interceptor> i2 = ep.getService().getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by service: " + i2);
}
List<Interceptor> i3 = ep.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by endpoint: " + i3);
}
List<Interceptor> i4 = null;
if (binding != null) {
i4 = binding.getOutInterceptors();
if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Interceptors contributed by binding: " + i4);
}
}
List<Interceptor> i5 = null;