org.apache.axis2.jaxws.server.dispatcher
Class JavaBeanDispatcher

java.lang.Object
  extended by org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher
      extended by org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher
All Implemented Interfaces:
EndpointDispatcher

public class JavaBeanDispatcher
extends JavaDispatcher

The JavaBeanDispatcher is used to manage creating an instance of a JAX-WS service implementation bean and dispatching the inbound request to that instance.


Field Summary
 
Fields inherited from class org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher
serviceImplClass, serviceInstance
 
Constructor Summary
JavaBeanDispatcher(java.lang.Class implClass, java.lang.Object serviceInstance)
           
 
Method Summary
 MessageContext invoke(MessageContext mc)
          Invoke the target endpoint synchronously
protected  java.lang.Object invokeService(MessageContext ctx, java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] args)
           
 
Methods inherited from class org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher
createServiceInstance, getServiceImplementationClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaBeanDispatcher

public JavaBeanDispatcher(java.lang.Class implClass,
                          java.lang.Object serviceInstance)
Method Detail

invoke

public MessageContext invoke(MessageContext mc)
                      throws java.lang.Exception
Description copied from interface: EndpointDispatcher
Invoke the target endpoint synchronously

Specified by:
invoke in interface EndpointDispatcher
Specified by:
invoke in class JavaDispatcher
Returns:
Throws:
java.lang.Exception

invokeService

protected java.lang.Object invokeService(MessageContext ctx,
                                         java.lang.reflect.Method method,
                                         java.lang.Object obj,
                                         java.lang.Object[] args)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007 Apache Web Services Project. All Rights Reserved.