org.codehaus.activesoap.handler.xmlbeans
Class XMLBeanInvokeMethodHandler
java.lang.Object
org.codehaus.activesoap.handler.xmlbeans.XMLBeansHandler
org.codehaus.activesoap.handler.xmlbeans.XMLBeanInvokeMethodHandler
- All Implemented Interfaces:
- Handler
- public class XMLBeanInvokeMethodHandler
- extends XMLBeansHandler
- Version:
- $Revision: 1.4 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBeanInvokeMethodHandler
public XMLBeanInvokeMethodHandler(Class serviceClass,
Method method)
XMLBeanInvokeMethodHandler
public XMLBeanInvokeMethodHandler(Object instance,
Method method)
XMLBeanInvokeMethodHandler
public XMLBeanInvokeMethodHandler(Class serviceClass,
Object instance,
Method method)
handleBody
protected void handleBody(MessageExchange exchange,
org.apache.xmlbeans.XmlObject body,
XMLStreamWriter out)
throws Exception
- Overrides:
handleBody
in class XMLBeansHandler
- Throws:
Exception
invokeService
protected void invokeService(org.apache.xmlbeans.XmlObject body,
MessageExchange exchange,
XMLStreamWriter out,
Object serviceInstance)
throws Exception
- Invokes the service on the given serviceInstance
- Throws:
Exception
outputServiceResult
protected void outputServiceResult(MessageExchange exchange,
XMLStreamWriter out,
org.apache.xmlbeans.XmlObject request,
Object response)
throws XMLStreamException
- Handles the result of a service invocation which is non null and is not an XMLBeans object.
The default implementation just outputs the String value
- Throws:
XMLStreamException
createService
protected Object createService()
throws Exception
- Factory method to create a new instance temporary instance of the service
- Returns:
-
- Throws:
Exception
Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.