org.codehaus.xfire.handler
Class HandlerPipeline
java.lang.Object
org.codehaus.xfire.AbstractXFireComponent
org.codehaus.xfire.handler.AbstractHandler
org.codehaus.xfire.handler.HandlerPipeline
- All Implemented Interfaces:
- Handler
public class HandlerPipeline
- extends AbstractHandler
- implements Handler
- Author:
- Dan Diephouse
Fields inherited from interface org.codehaus.xfire.handler.Handler |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerPipeline
public HandlerPipeline()
getHandler
public Handler getHandler(int i)
size
public int size()
invoke
public void invoke(MessageContext context)
throws java.lang.Exception
- Description copied from interface:
Handler
- Invoke a handler. If a fault occurs it will be handled via the
handleFault
method.
- Specified by:
invoke
in interface Handler
- Throws:
java.lang.Exception
handleFault
public void handleFault(XFireFault e,
MessageContext context)
- Description copied from interface:
Handler
- Handles faults that occur in this handler. This is not responsible for
actually writing the fault response message.
- Specified by:
handleFault
in interface Handler
- Overrides:
handleFault
in class AbstractHandler
- See Also:
org.codehaus.xfire.handler.Handler#handleFault(java.lang.Exception, org.codehaus.xfire.MessageContext)
addHandler
public void addHandler(Handler handler)
remove
public void remove(Handler handler)
iterator
public java.util.Iterator iterator()
Copyright © 2004-2005 Codehaus. All Rights Reserved.