org.codehaus.activesoap.handler.xmlbeans
Class XMLBeansInvokeMethodHandler
java.lang.Object
org.codehaus.activesoap.handler.xmlbeans.XMLBeansHandler
org.codehaus.activesoap.handler.xmlbeans.XMLBeansInvokeMethodHandler
- All Implemented Interfaces:
- Handler
- public class XMLBeansInvokeMethodHandler
- extends XMLBeansHandler
- Version:
- $Revision: 1.3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBeansInvokeMethodHandler
public XMLBeansInvokeMethodHandler(Class serviceClass,
Method method)
XMLBeansInvokeMethodHandler
public XMLBeansInvokeMethodHandler(Object instance,
Method method)
XMLBeansInvokeMethodHandler
public XMLBeansInvokeMethodHandler(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(MessageExchange exchange)
throws Exception
- Factory method to create a new instance temporary instance of the service
- Parameters:
exchange
-
- Returns:
-
- Throws:
Exception
Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.