/** Start all interceptors in the chain **/ protected void startInterceptors() throws Exception { Interceptor in = interceptor; while (in != null) { in.start(); in = in.getNext(); } }
/** Stop all interceptors in the chain */ protected void stopInterceptors() { Interceptor in = interceptor; while (in != null) { in.stop(); in = in.getNext(); } }
protected void destroyInterceptors() { // Destroy all the interceptors in the chain Interceptor in = interceptor; while (in != null) { in.destroy(); in.setContainer(null); in = in.getNext(); } }
/** Initialize the interceptors by calling the chain */ protected void createInterceptors() throws Exception { Interceptor in = interceptor; while (in != null) { in.setContainer(this); in.create(); in = in.getNext(); } }