|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.providers.jca.WSIFOperation_JCA
The WSIFOperation_JCA class is an implementation of the WSIFOperation interface, which is used to execute interactions with the EIS.
Constructor Summary | |
WSIFOperation_JCA(javax.wsdl.Definition aDefinition,
javax.wsdl.Service aService,
javax.wsdl.Port aPort,
java.lang.String aOperationName,
java.lang.String aInputName,
java.lang.String aOutputName,
WSIFDynamicTypeMap typeMap,
WSIFPort_JCA jcaPort,
WSIFProviderJCAExtensions aFactory,
Connection aConnection,
InteractionSpec aInteractionSpec)
The WSIFOperation_JCA constructor. |
Method Summary | |
WSIFMessage |
createFaultMessage()
This method creates the fault message. |
WSIFMessage |
createFaultMessage(java.lang.String name)
This method creates the fault message with specific name. |
WSIFMessage |
createInputMessage()
This method creates the input message. |
WSIFMessage |
createInputMessage(java.lang.String name)
This method creates the input message with specific name. |
WSIFMessage |
createOutputMessage()
This method creates the output message. |
WSIFMessage |
createOutputMessage(java.lang.String name)
This method creates the output message with specific name. |
void |
executeInputOnlyOperation(WSIFMessage input)
Invokes input only operation. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input)
Method not supported. |
WSIFCorrelationId |
executeRequestResponseAsync(WSIFMessage input,
WSIFResponseHandler handler)
Method not supported. |
boolean |
executeRequestResponseOperation(WSIFMessage input,
WSIFMessage output,
WSIFMessage fault)
Invokes the request/response operation. |
void |
fireAsyncResponse(java.lang.Object response)
Method not supported. |
WSIFMessage |
getContext()
Method not supported. |
InteractionSpec |
getInteractionSpec()
Returns the interactionSpec. |
boolean |
processAsyncResponse(java.lang.Object response,
WSIFMessage output,
WSIFMessage fault)
Method not supported. |
void |
setContext(WSIFMessage context)
Method not supported. |
void |
setInteractionSpec(InteractionSpec interactionSpec)
Sets the interactionSpec. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WSIFOperation_JCA(javax.wsdl.Definition aDefinition, javax.wsdl.Service aService, javax.wsdl.Port aPort, java.lang.String aOperationName, java.lang.String aInputName, java.lang.String aOutputName, WSIFDynamicTypeMap typeMap, WSIFPort_JCA jcaPort, WSIFProviderJCAExtensions aFactory, Connection aConnection, InteractionSpec aInteractionSpec)
aDefinition
- aOperationName
- aInputName
- aOutputName
- aConnection
- aInteractionSpec
- aFactory
- typeMap
- aPort
- aService
- jcaPort
- Method Detail |
public boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault) throws WSIFException
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.public void executeInputOnlyOperation(WSIFMessage input) throws WSIFException
executeInputOnlyOperation
in interface WSIFOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.public WSIFMessage createFaultMessage()
WSIFMessage_JCAStreamable
message.
createFaultMessage
in interface WSIFOperation
public WSIFMessage createFaultMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.
createFaultMessage
in interface WSIFOperation
name
- for the new message
public WSIFMessage createInputMessage()
WSIFMessage_JCAStreamable
message.
createInputMessage
in interface WSIFOperation
public WSIFMessage createInputMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.
createInputMessage
in interface WSIFOperation
name
- for the new message
public WSIFMessage createOutputMessage()
WSIFMessage_JCAStreamable
message.
createOutputMessage
in interface WSIFOperation
public WSIFMessage createOutputMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.
createOutputMessage
in interface WSIFOperation
name
- for the new message
public InteractionSpec getInteractionSpec()
public void setInteractionSpec(InteractionSpec interactionSpec)
interactionSpec
- The interactionSpec to setpublic java.lang.String toString()
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.public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
input
- input message to send to the operation
WSIFException
- if something goes wrong.public void fireAsyncResponse(java.lang.Object response) throws WSIFException
fireAsyncResponse
in interface WSIFOperation
response
- an Object representing the response
WSIFException
- if something goes wrongpublic 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 wrongpublic void setContext(WSIFMessage context)
setContext
in interface WSIFOperation
context
- context informationpublic WSIFMessage getContext()
getContext
in interface WSIFOperation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |