|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.connector.WSIFInteraction
public class WSIFInteraction
Implementor for IBM environments using the Web Services Invocation Framework
Constructor Summary | |
---|---|
WSIFInteraction(java.lang.String isClassName,
java.lang.String requestPartName,
java.lang.Object requestPart,
java.lang.String responsePartName,
java.lang.Object responsePart)
|
Method Summary | |
---|---|
boolean |
canHandle(javax.resource.cci.InteractionSpec interactionSpec,
javax.resource.cci.Record actualRequest,
javax.resource.cci.Record actualResponse)
Implementors should return true if this implementor can handle the request. |
void |
disable()
Disables this implementor. |
void |
enable()
Enables this implementor. |
javax.resource.cci.Record |
execute(javax.resource.cci.InteractionSpec interactionSpec,
javax.resource.cci.Record actualRequest)
not implemented yet. |
boolean |
execute(javax.resource.cci.InteractionSpec interactionSpec,
javax.resource.cci.Record actualRequest,
javax.resource.cci.Record actualResponse)
Second version of the Interaction.execute methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSIFInteraction(java.lang.String isClassName, java.lang.String requestPartName, java.lang.Object requestPart, java.lang.String responsePartName, java.lang.Object responsePart)
isClassName
- would be com.ibm.connector2.ims.ico.IMSInteractionSpec, com.ibm.connector2.cics.ECIInteractionSpecMethod Detail |
---|
public void enable()
public void disable()
canHandle(InteractionSpec, Record, Record)
always returns false
, if this implementor is disabled.
public boolean canHandle(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record actualRequest, javax.resource.cci.Record actualResponse)
InteractionImplementor
true
if this implementor can handle the request.
Please note that for calls to InteractionImplementor.execute(InteractionSpec, Record)
,
the second Record
parameter is null
.
canHandle
in interface InteractionImplementor
interactionSpec
- the InteractionSpec
for the actual callactualRequest
- the request for the actual callactualResponse
- the response for the actual call, may be null
true
if this implementor will handle the request and
will return the specified response, false
otherwisepublic javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record actualRequest) throws javax.resource.ResourceException
execute
in interface InteractionImplementor
interactionSpec
- the interaction specactualRequest
- the actual request
javax.resource.ResourceException
public boolean execute(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record actualRequest, javax.resource.cci.Record actualResponse) throws javax.resource.ResourceException
InteractionImplementor
Interaction.execute
methods.
execute
in interface InteractionImplementor
interactionSpec
- the interaction specactualRequest
- the actual requestactualResponse
- the actual response
true
under normal conditions
javax.resource.ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |