|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFDefaultOperation
public abstract class WSIFDefaultOperation
Constructor Summary | |
---|---|
WSIFDefaultOperation()
|
Method Summary | |
---|---|
void |
addInputJmsPropertyValues(java.util.List list)
This method adds new property values to existing HashMap. |
WSIFMessage |
createFaultMessage()
Create a fault message that may be received into via this port. |
WSIFMessage |
createFaultMessage(java.lang.String name)
Create a fault message that may be received into via this port. |
WSIFMessage |
createInputMessage()
Create an input message that will be sent via this port. |
WSIFMessage |
createInputMessage(java.lang.String name)
Create an input message that will be sent via this port. |
WSIFMessage |
createOutputMessage()
Create an output message that will be received into via this port. |
WSIFMessage |
createOutputMessage(java.lang.String name)
Create an output message that will be received into via this port. |
abstract void |
executeInputOnlyOperation(WSIFMessage input)
Execute an input-only operation. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input)
Default implementation of executeRequestResponseAsync. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
Default implementation of executeRequestResponseAsync. |
abstract boolean |
executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
Execute a request-response operation. |
void |
fireAsyncResponse(java.lang.Object response)
Default implemantation of fireAsyncResponse. |
WSIFMessage |
getContext()
Gets the context information for this binding. |
java.util.HashMap |
getInputJmsProperties()
|
java.util.HashMap |
getInputJmsPropertyValues()
|
java.util.HashMap |
getOutputJmsProperties()
|
abstract WSIFPort |
getWSIFPort()
|
boolean |
processAsyncResponse(java.lang.Object response,
WSIFMessage output,
WSIFMessage fault)
Default implemantation of processAsyncResponse. |
void |
setContext(WSIFMessage context)
Allows the application programmer or stub to pass context information to the binding. |
void |
setInputJmsProperties(java.util.HashMap hm)
|
void |
setInputJmsProperties(java.util.List list)
Sets the input Jms properties for this operation |
void |
setInputJmsPropertyValues(java.util.HashMap hm)
|
void |
setOutputJmsProperties(java.util.HashMap hm)
|
void |
setOutputJmsProperties(java.util.List list)
Sets the output Jms properties for this operation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSIFDefaultOperation()
Method Detail |
---|
public abstract boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
WSIFOperation
executeRequestResponseOperation
in interface WSIFOperation
input
- input message to send to the operationoutput
- an empty message which will be filled in if
the operation invocation succeeds. If it does not
succeed, the contents of this message are undefined.
(This is a return value of this method.)fault
- an empty message which will be filled in if
the operation invocation fails. If it succeeds, the
contents of this message are undefined. (This is a
return value of this method.)
WSIFException
- if something goes wrong.WSIFOperation.executeRequestResponseOperation(WSIFMessage, WSIFMessage, WSIFMessage)
public abstract void executeInputOnlyOperation(WSIFMessage input) throws WSIFException
WSIFOperation
executeInputOnlyOperation
in interface WSIFOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.WSIFOperation.executeInputOnlyOperation(WSIFMessage)
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input, WSIFResponseHandler handler) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
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 WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.WSIFOperation.executeRequestResponseAsync(WSIFMessage)
public void fireAsyncResponse(java.lang.Object response) throws WSIFException
fireAsyncResponse
in interface WSIFOperation
response
- an Object representing the response
WSIFException
- if something goes wrongWSIFOperation.fireAsyncResponse(Object)
public boolean processAsyncResponse(java.lang.Object response, WSIFMessage output, WSIFMessage fault) throws WSIFException
processAsyncResponse
in interface WSIFOperation
response
- an Object representing the response.output
- an empty message which will be filled in if
the operation invocation succeeds. If it does not
succeed, the contents of this message are undefined.
(This is a return value of this method.)fault
- an empty message which will be filled in if
the operation invocation fails. If it succeeds, the
contents of this message are undefined. (This is a
return value of this method.)
WSIFException
- if something goes wrongWSIFOperation.processAsyncResponse(Object,WSIFMessage,WSIFMessage)
public WSIFMessage createInputMessage()
WSIFOperation
createInputMessage
in interface WSIFOperation
WSIFOperation.createInputMessage()
public WSIFMessage createInputMessage(java.lang.String name)
WSIFOperation
createInputMessage
in interface WSIFOperation
name
- for the new message
WSIFOperation.createInputMessage(String)
public WSIFMessage createOutputMessage()
WSIFOperation
createOutputMessage
in interface WSIFOperation
WSIFOperation.createOutputMessage()
public WSIFMessage createOutputMessage(java.lang.String name)
WSIFOperation
createOutputMessage
in interface WSIFOperation
name
- for the new message
WSIFOperation.createOutputMessage(String)
public WSIFMessage createFaultMessage()
WSIFOperation
createFaultMessage
in interface WSIFOperation
WSIFOperation.createFaultMessage()
public WSIFMessage createFaultMessage(java.lang.String name)
WSIFOperation
createFaultMessage
in interface WSIFOperation
name
- for the new message
WSIFOperation.createFaultMessage(String)
public void setInputJmsProperties(java.util.List list) throws WSIFException
WSIFException
public void setOutputJmsProperties(java.util.List list) throws WSIFException
WSIFException
public void setInputJmsProperties(java.util.HashMap hm)
public void setOutputJmsProperties(java.util.HashMap hm)
public java.util.HashMap getInputJmsProperties()
public java.util.HashMap getOutputJmsProperties()
public abstract WSIFPort getWSIFPort()
public void addInputJmsPropertyValues(java.util.List list) throws WSIFException
WSIFException
public void setInputJmsPropertyValues(java.util.HashMap hm)
public java.util.HashMap getInputJmsPropertyValues()
public void setContext(WSIFMessage context)
setContext
in interface WSIFOperation
context
- context informationpublic WSIFMessage getContext() throws WSIFException
getContext
in interface WSIFOperation
WSIFException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |