|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the Response message returned by the service implementation methodpublic interface ResponseDispatch<T>
The following defines the ResponseDispatch interface, used to return a response message asynchronously from a service implementation method.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContext()
Obtains the context object for the ResponseDispatch method |
void |
sendFault(java.lang.Throwable e)
Sends an exception as a fault from an asynchronous service method. |
void |
sendResponse(T res)
Sends the response message from an asynchronous service method. |
Method Detail |
---|
void sendResponse(T res)
res
- an instance of the response message returned by the service operation
InvalidStateException
- if this method is called more than once for the same service
operation.void sendFault(java.lang.Throwable e)
e
- an instance of an exception returned by the service operation
InvalidStateException
- if this method is called more than once for the same service
operation.java.util.Map<java.lang.String,java.lang.Object> getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |