org.apache.axis2.jaxws.client.proxy
Class ProxyAsyncListener

java.lang.Object
  extended by org.apache.axis2.jaxws.client.async.AsyncResponse
      extended by org.apache.axis2.jaxws.client.proxy.ProxyAsyncListener
All Implemented Interfaces:
Future, Response

public class ProxyAsyncListener
extends AsyncResponse

ProxyAsyncListener will be used to create response object when client does response.get(); The Class will return the data type associated with Response Generic Class. Example Response will return a Float object to client on Response.get() call.


Constructor Summary
ProxyAsyncListener(OperationDescription od)
           
 
Method Summary
 Throwable getFaultResponse(MessageContext mc)
           
 JAXWSProxyHandler getHandler()
           
 Object getResponseValueObject(MessageContext mc)
           
 void setHandler(JAXWSProxyHandler handler)
           
 void setInputArgs(Object[] inputArgs)
           
 
Methods inherited from class org.apache.axis2.jaxws.client.async.AsyncResponse
cancel, get, get, getContext, isCancelled, isDone, onComplete, onComplete, onError, onError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyAsyncListener

public ProxyAsyncListener(OperationDescription od)
Method Detail

getHandler

public JAXWSProxyHandler getHandler()

setHandler

public void setHandler(JAXWSProxyHandler handler)

setInputArgs

public void setInputArgs(Object[] inputArgs)

getResponseValueObject

public Object getResponseValueObject(MessageContext mc)
Specified by:
getResponseValueObject in class AsyncResponse

getFaultResponse

public Throwable getFaultResponse(MessageContext mc)
Specified by:
getFaultResponse in class AsyncResponse


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.