1 16 package org.apache.axis2.description; 17 18 import java.util.ArrayList ; 19 import java.util.List ; 20 21 24 public class FlowImpl implements Flow { 25 28 protected final List list; 29 30 33 public FlowImpl() { 34 list = new ArrayList (); 35 } 36 37 42 public void addHandler(HandlerDescription handler) { 43 list.add(handler); 44 } 45 46 52 public HandlerDescription getHandler(int index) { 53 return (HandlerDescription) list.get(index); 54 } 55 56 61 public int getHandlerCount() { 62 return list.size(); 63 } 64 } 65 | Popular Tags |