org.ofbiz.webapp.event
Class SOAPEventHandler
java.lang.Object
org.ofbiz.webapp.event.SOAPEventHandler
- All Implemented Interfaces:
- EventHandler
public class SOAPEventHandler
- extends java.lang.Object
- implements EventHandler
SOAPEventHandler - SOAP Event Handler implementation
Field Summary |
static java.lang.String |
module
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
SOAPEventHandler
public SOAPEventHandler()
init
public void init(ServletContext context)
throws EventHandlerException
- Description copied from interface:
EventHandler
- Initializes the handler. Since handlers use the singleton pattern this method should only be called
the first time the handler is used.
- Specified by:
init
in interface EventHandler
- Parameters:
context
- ServletContext This may be needed by the handler in order to lookup properties or XML
definition files for rendering pages or handler options.
- Throws:
EventHandlerException
- See Also:
org.ofbiz.webapp.event.EventHandler#init(javax.servlet.ServletContext)
invoke
public java.lang.String invoke(ConfigXMLReader.Event event,
ConfigXMLReader.RequestMap requestMap,
HttpServletRequest request,
HttpServletResponse response)
throws EventHandlerException
- Description copied from interface:
EventHandler
- Invoke the web event
- Specified by:
invoke
in interface EventHandler
- Parameters:
event
- Contains information about what to executerequestMap
- Contains information about the request-map the event was called fromrequest
- The servlet request objectresponse
- The servlet response object
- Returns:
- String Result code
- Throws:
EventHandlerException
- See Also:
org.ofbiz.webapp.event.EventHandler#invoke(Event, org.ofbiz.webapp.control.ConfigXMLReader.RequestMap, HttpServletRequest, HttpServletResponse)
messageToString
public static java.lang.String messageToString(Message msg)
throws javax.xml.soap.SOAPException,
java.io.IOException
- Throws:
javax.xml.soap.SOAPException
java.io.IOException