View Javadoc

    1   package org.codehaus.xfire.handler;
    2
    3   import java.util.ArrayList;
    4   import java.util.List;
    5
    6   public abstract class AbstractHandlerSupport
    7       implements HandlerSupport
    8   {
    9       private List inHandlers = new ArrayList();
    10      private List outHandlers = new ArrayList();
    11      private List faultHandlers = new ArrayList();
    12
    13      public void addFaultHandler(Handler handler)
    14      {
    15          faultHandlers.add(handler);
    16      }
    17
    18      public List getFaultHandlers()
    19      {
    20          return faultHandlers;
    21      }
    22
    23      public void setFaultHandlers(List faultHandlers)
    24      {
    25          this.faultHandlers = faultHandlers;
    26      }
    27
    28      public void addInHandler(Handler handler)
    29      {
    30          inHandlers.add(handler);
    31      }
    32
    33      public List getInHandlers()
    34      {
    35          return inHandlers;
    36      }
    37
    38      public void setInHandlers(List inHandlers)
    39      {
    40          this.inHandlers = inHandlers;
    41      }
    42
    43      public void addOutHandler(Handler handler)
    44      {
    45          outHandlers.add(handler);
    46      }
    47
    48      public List getOutHandlers()
    49      {
    50          return outHandlers;
    51      }
    52
    53      public void setOutHandlers(List outHandlers)
    54      {
    55          this.outHandlers = outHandlers;
    56      }
    57  }