public void copyClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo) {
   for (Entry<InterceptorType, LinkedList<?>> entry : interceptorLists.entrySet()) {
     LinkedList copyToInterceptors = copyTo.getInterceptors(entry.getKey());
     LinkedList copyFromInterceptors = this.getInterceptors(entry.getKey());
     copyToInterceptors.addAll(copyFromInterceptors);
   }
 }
 public void prefixClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo) {
   for (Entry<InterceptorType, LinkedList<?>> entry : interceptorLists.entrySet()) {
     LinkedList copyToInterceptors = copyTo.getInterceptors(entry.getKey());
     LinkedList copyFromInterceptors = this.getInterceptors(entry.getKey());
     for (Object interceptor : copyFromInterceptors) {
       copyToInterceptors.addFirst(interceptor);
     }
   }
 }