org.apache.servicemix.soap.handlers
Class AbstractHandler

java.lang.Object
  extended by org.apache.servicemix.soap.handlers.AbstractHandler
All Implemented Interfaces:
Handler
Direct Known Subclasses:
AddressingHandler, DomHandler

public class AbstractHandler
extends java.lang.Object
implements Handler

Since:
3.0
Version:
$Revision: 1.5 $
Author:
Guillaume Nodet

Constructor Summary
AbstractHandler()
           
 
Method Summary
 boolean isRequired()
           
 void onAnswer(Context context)
           
 void onFault(Context context)
           
 void onReceive(Context context)
           
 void onReply(Context context)
           
 void onSend(Context context)
           
 boolean requireDOM()
           
 void setRequired(boolean required)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

isRequired

public boolean isRequired()
Specified by:
isRequired in interface Handler
Returns:
the required

setRequired

public void setRequired(boolean required)
Specified by:
setRequired in interface Handler
Parameters:
required - the required to set

requireDOM

public boolean requireDOM()
Specified by:
requireDOM in interface Handler

onReceive

public void onReceive(Context context)
               throws java.lang.Exception
Specified by:
onReceive in interface Handler
Throws:
java.lang.Exception

onReply

public void onReply(Context context)
             throws java.lang.Exception
Specified by:
onReply in interface Handler
Throws:
java.lang.Exception

onFault

public void onFault(Context context)
             throws java.lang.Exception
Specified by:
onFault in interface Handler
Throws:
java.lang.Exception

onSend

public void onSend(Context context)
Specified by:
onSend in interface Handler

onAnswer

public void onAnswer(Context context)
Specified by:
onAnswer in interface Handler


Copyright © 2005-2011 FuseSource. All Rights Reserved.