01: package org.strecks.interceptor.internal.impl;
02:
03: import java.util.List;
04:
05: import org.strecks.controller.InterceptorAware;
06: import org.strecks.interceptor.AfterInterceptor;
07: import org.strecks.interceptor.BeforeInterceptor;
08:
09: public class InterceptorAwareImpl implements InterceptorAware {
10:
11: private List<BeforeInterceptor> beforeInterceptors;
12: private List<AfterInterceptor> afterInterceptors;
13:
14: public List<BeforeInterceptor> getBeforeInterceptors() {
15: return beforeInterceptors;
16: }
17:
18: public List<AfterInterceptor> getAfterInterceptors() {
19: return afterInterceptors;
20: }
21:
22: public void setBeforeInterceptors(
23: List<BeforeInterceptor> beforeInterceptors) {
24: this .beforeInterceptors = beforeInterceptors;
25: }
26:
27: public void setAfterInterceptors(
28: List<AfterInterceptor> afterInterceptors) {
29: this.afterInterceptors = afterInterceptors;
30: }
31:
32: }
|