|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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,
javax.resource.cci.Connection aConnection,
javax.resource.cci.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. |
javax.resource.cci.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(javax.resource.cci.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, javax.resource.cci.Connection aConnection, javax.resource.cci.InteractionSpec aInteractionSpec)
aDefinition
- aBinding
- 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
org.apache.wsif.WSIFOperation
op
- name of operation to executeinput
- 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
org.apache.wsif.WSIFOperation
input
- input message to send to the operationWSIFException
- if something goes wrong.public WSIFMessage createFaultMessage()
WSIFMessage_JCAStreamable
message.createFaultMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
public WSIFMessage createFaultMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.createFaultMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
name
- for the new messagepublic WSIFMessage createInputMessage()
WSIFMessage_JCAStreamable
message.createInputMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
public WSIFMessage createInputMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.createInputMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
name
- for the new messagepublic WSIFMessage createOutputMessage()
WSIFMessage_JCAStreamable
message.createOutputMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
public WSIFMessage createOutputMessage(java.lang.String name)
WSIFMessage_JCAStreamable
message.createOutputMessage
in interface WSIFOperation
org.apache.wsif.WSIFOperation
name
- for the new messagepublic javax.resource.cci.InteractionSpec getInteractionSpec()
public void setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec)
interactionSpec
- The interactionSpec to setpublic java.lang.String toString()
toString
in class java.lang.Object
public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input, WSIFResponseHandler handler) throws WSIFException
executeRequestResponseAsync
in interface WSIFOperation
org.apache.wsif.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
org.apache.wsif.WSIFOperation
input
- input message to send to the operationWSIFException
- if something goes wrong.public void fireAsyncResponse(java.lang.Object response) throws WSIFException
fireAsyncResponse
in interface WSIFOperation
org.apache.wsif.WSIFOperation
response
- an Object representing the responseWSIFException
- if something goes wrongpublic boolean processAsyncResponse(java.lang.Object response, WSIFMessage output, WSIFMessage fault) throws WSIFException
processAsyncResponse
in interface WSIFOperation
org.apache.wsif.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
org.apache.wsif.WSIFOperation
context
- context informationpublic WSIFMessage getContext()
getContext
in interface WSIFOperation
org.apache.wsif.WSIFOperation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |