1 17 package org.apache.servicemix.soap.handlers; 18 19 import org.apache.servicemix.soap.Context; 20 import org.apache.servicemix.soap.Handler; 21 22 28 public class AbstractHandler implements Handler { 29 30 private boolean required; 31 32 35 public boolean isRequired() { 36 return required; 37 } 38 39 42 public void setRequired(boolean required) { 43 this.required = required; 44 } 45 46 public boolean requireDOM() { 47 return false; 48 } 49 50 public void onReceive(Context context) throws Exception { 51 } 52 53 public void onReply(Context context) throws Exception { 54 } 55 56 public void onFault(Context context) throws Exception { 57 } 58 59 public void onSend(Context context) { 60 } 61 62 public void onAnswer(Context context) { 63 } 64 65 } 66 | Popular Tags |