|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFDefaultOperation
org.apache.wsif.providers.jms.WSIFOperation_Jms
WSIFOperation_Jms
Constructor Summary | |
WSIFOperation_Jms(javax.wsdl.Port basePort,
javax.wsdl.BindingOperation bindingOperation,
WSIFPort_Jms jmsPort)
ctor |
Method Summary | |
WSIFOperation_Jms |
copy()
Create a new copy of this object. |
java.lang.String |
deep()
|
void |
executeInputOnlyOperation(WSIFMessage input)
executeInputOnlyOperation(WSIFMessage) WSDL transmission primitive Notification (fire&forget) |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input)
executeRequestResponseAsync(WSIFMessage) This is the simple async form where the client is expected to handle the correlating of the response. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
executeRequestResponseAsync(WSIFMessage, WSIFResponseHandler) |
boolean |
executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
executeRequestResponseOperation(WSIFMessage, WSIFMessage, WSIFMessage) synchronous execution is NOT supported for JMS |
void |
fireAsyncResponse(java.lang.Object response)
fireAsyncResponse is called when a response has been received for a previous executeRequestResponseAsync call. |
int |
getJMSMessageType()
|
WSIFPort |
getWSIFPort()
|
boolean |
isAsyncOperation()
Tests if the currently executing request is an asynchronous request. |
boolean |
processAsyncResponse(java.lang.Object responseObject,
WSIFMessage output,
WSIFMessage fault)
Processes the response to an asynchronous request. |
static void |
setJMSMessageOutputHeaderProperties(javax.jms.Message targetMsg,
WSIFMessage srcMsg,
JMSFormatter formatter)
Sets JMS properties on a JMS message This has the side effect of removing the JMS properties from the srcMsg WSIFMessage. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.wsif.WSIFOperation |
createFaultMessage, createFaultMessage, createInputMessage, createInputMessage, createOutputMessage, createOutputMessage, getContext, setContext |
Constructor Detail |
public WSIFOperation_Jms(javax.wsdl.Port basePort, javax.wsdl.BindingOperation bindingOperation, WSIFPort_Jms jmsPort) throws WSIFException
Method Detail |
public WSIFOperation_Jms copy() throws WSIFException
WSIFException
public boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
executeRequestResponseOperation
in interface WSIFOperation
executeRequestResponseOperation
in class WSIFDefaultOperation
WSIFException
WSIFOperation.executeRequestResponseOperation(WSIFMessage, WSIFMessage, WSIFMessage)
public void executeInputOnlyOperation(WSIFMessage input) throws WSIFException
executeInputOnlyOperation
in interface WSIFOperation
executeInputOnlyOperation
in class WSIFDefaultOperation
WSIFException
WSIFOperation.executeInputOnlyOperation(WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
executeRequestResponseAsync
in class WSIFDefaultOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.WSIFOperation.executeRequestResponseAsync(WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input, WSIFResponseHandler handler) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
executeRequestResponseAsync
in class WSIFDefaultOperation
input
- input message to send to the operationhandler
- the response handler that will be notified
when the asynchronous response becomes available.
WSIFException
- if something goes wrong.WSIFOperation.executeRequestResponseAsync(WSIFMessage, WSIFResponseHandler)
public boolean processAsyncResponse(java.lang.Object responseObject, WSIFMessage output, WSIFMessage fault) throws WSIFException
WSIFOperation
processAsyncResponse
in interface WSIFOperation
processAsyncResponse
in class WSIFDefaultOperation
WSIFException
WSIFOperation.processAsyncResponse(Object,WSIFMessage,WSIFMessage)
public void fireAsyncResponse(java.lang.Object response) throws WSIFException
fireAsyncResponse
in interface WSIFOperation
fireAsyncResponse
in class WSIFDefaultOperation
response
- an Object representing the response
WSIFException
WSIFOperation.fireAsyncResponse(Object)
public int getJMSMessageType()
public boolean isAsyncOperation()
public WSIFPort getWSIFPort()
getWSIFPort
in class WSIFDefaultOperation
public static void setJMSMessageOutputHeaderProperties(javax.jms.Message targetMsg, WSIFMessage srcMsg, JMSFormatter formatter) throws WSIFException
targetMsg
- the JMS message where properties will be setsrcMsg
- WSIF message containing the JMS property valuesformatter
- JMSFormatter holding WSDL definitions defining
which JMS properties should be set
WSIFException
public java.lang.String deep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |