|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used to indicate an adapter's desire to cache IDocumentDefinition objects for use by it's Interaction object. This interface should be implemented by the InteractionSpec implementation for the adapter. It is used to load the request/response document definitions for a given InteractionSpec for use by the adapter when executing functions referring to this InteractionSpec.
This interface allows an InteractionSpec to cache a set of relatively expensive to create and and difficult to obtain objects. This mainly benefits the adapter in terms of performance, but can also benefit the user because the adapter will have the response schema needed to generate a response that exactly matches the schema the user is expecting it to match. Without this facility, the adapter is forced to recreate or guess the schema for the request/response.
Fields inherited from class javax.resource.cci.InteractionSpec |
SYNC_RECEIVE,
SYNC_SEND,
SYNC_SEND_RECEIVE |
Method Summary | |
IDocumentDefinition |
getRequestDocumentDefinition()
Get the IDocumentDefinition object representing the request document for this InteractionSpec object. |
IDocumentDefinition |
getResponseDocumentDefinition()
Get the IDocumentDefinition object representing the request document for this InteractionSpec object. |
void |
setRequestDocumentDefinition(IDocumentDefinition requestDocDef)
Set the IDocumentDefinition object representing the request document for this InteractionSpec object. |
void |
setResponseDocumentDefinition(IDocumentDefinition responseDocDef)
Set the IDocumentDefinition object representing the response document for this InteractionSpec object. |
Method Detail |
public void setRequestDocumentDefinition(IDocumentDefinition requestDocDef) throws javax.resource.ResourceException
public void setResponseDocumentDefinition(IDocumentDefinition responseDocDef) throws javax.resource.ResourceException
public IDocumentDefinition getRequestDocumentDefinition()
public IDocumentDefinition getResponseDocumentDefinition()
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |