WebLogic Integration


com.bea.connector
Interface DocumentInteractionSpec

All Known Implementing Classes:
DocumentInteractionSpecImpl

public interface DocumentInteractionSpec
extends javax.resource.cci.InteractionSpec

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.

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

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

setRequestDocumentDefinition

public void setRequestDocumentDefinition(IDocumentDefinition requestDocDef)
                                  throws javax.resource.ResourceException
Set the IDocumentDefinition object representing the request document for this InteractionSpec object.


setResponseDocumentDefinition

public void setResponseDocumentDefinition(IDocumentDefinition responseDocDef)
                                   throws javax.resource.ResourceException
Set the IDocumentDefinition object representing the response document for this InteractionSpec object.


getRequestDocumentDefinition

public IDocumentDefinition getRequestDocumentDefinition()
Get the IDocumentDefinition object representing the request document for this InteractionSpec object.


getResponseDocumentDefinition

public IDocumentDefinition getResponseDocumentDefinition()
Get the IDocumentDefinition object representing the request document for this InteractionSpec object.


WebLogic Integration

WebLogic Integration (WLI)