01: /*
02: * Created on 15 Dec 2006
03: */
04: package uk.org.ponder.rsf.processor;
05:
06: import java.util.List;
07:
08: public class HandlerHookHandler implements HandlerHook {
09: private List handlers;
10:
11: public void setHandlers(List handlers) {
12: this .handlers = handlers;
13: }
14:
15: public boolean handle() {
16: if (handlers != null) {
17: for (int i = 0; i < handlers.size(); ++i) {
18: if (((HandlerHook) handlers.get(i)).handle())
19: return true;
20: }
21: }
22: return false;
23: }
24:
25: }
|