View Javadoc

1   package org.kuali.student.security.cxf.interceptors;
2   
3   import java.util.ArrayList;
4   import java.util.HashMap;
5   import java.util.List;
6   
7   import org.apache.cxf.interceptor.Interceptor;
8   
9   public class IntercpetorContainer extends HashMap<String,List<Interceptor>> {
10      
11      private List<Interceptor> inInterceptors = new ArrayList<Interceptor>();
12      private List<Interceptor> outInterceptors = new ArrayList<Interceptor>();
13      
14      
15      public List<Interceptor> getInInterceptors() {
16          return inInterceptors;
17      }
18      public void setInInterceptors(List<Interceptor> inInterceptors) {
19          this.inInterceptors = inInterceptors;
20          this.put("inInterceptor", inInterceptors);
21      }
22      public List<Interceptor> getOutInterceptors() {
23          return outInterceptors;
24      }
25      public void setOutInterceptors(List<Interceptor> outInterceptors) {
26          this.outInterceptors = outInterceptors;
27          this.put("outInterceptor", outInterceptors);
28      }
29      
30      
31  }