org.codehaus.activesoap.handler.xstream
Class XStreamInvokeMethodHandler

java.lang.Object
  extended byorg.codehaus.activesoap.handler.xstream.XStreamHandler
      extended byorg.codehaus.activesoap.handler.xstream.XStreamInvokeMethodHandler
All Implemented Interfaces:
Handler

public class XStreamInvokeMethodHandler
extends XStreamHandler

Version:
$Revision: 1.3 $

Field Summary
 
Fields inherited from class org.codehaus.activesoap.handler.xstream.XStreamHandler
driver, xstream
 
Constructor Summary
XStreamInvokeMethodHandler(Class serviceClass, Method method)
           
 
Method Summary
protected  Object createService()
          Factory method to create a new instance temporary instance of the service
protected  void handleBody(MessageExchange exchange, Object body, XMLStreamWriter out)
           
protected  void invokeService(Object body, MessageExchange exchange, XMLStreamWriter out, Object serviceInstance)
          Invokes the service on the given serviceInstance
 
Methods inherited from class org.codehaus.activesoap.handler.xstream.XStreamHandler
getDriver, getObject, getXstream, invoke, reply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XStreamInvokeMethodHandler

public XStreamInvokeMethodHandler(Class serviceClass,
                                  Method method)
Method Detail

handleBody

protected void handleBody(MessageExchange exchange,
                          Object body,
                          XMLStreamWriter out)
                   throws Exception
Overrides:
handleBody in class XStreamHandler
Throws:
Exception

invokeService

protected void invokeService(Object body,
                             MessageExchange exchange,
                             XMLStreamWriter out,
                             Object serviceInstance)
                      throws Exception
Invokes the service on the given serviceInstance

Throws:
Exception

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.