|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.adapter.cci.InteractionSpecImpl
com.bea.adapter.cci.DocumentInteractionSpecImpl
public class DocumentInteractionSpecImpl
Extends the base InteractionSpecImpl class to provide an implementation of the com.bea.connector.DocumentInteractionSpec and com.bea.connector.ClientDataInteractionSpec interfaces.
Field Summary | |
---|---|
protected IClientData |
m_clientData
Client data instance. |
protected com.bea.document.IDocument |
m_defaultRequestDoc
Cached default document created with the request document definition; minOccurs is forced to 1 by default. |
protected com.bea.document.IDocument |
m_defaultResponseDoc
Cached default document created with the response document definition; minOccurs is forced to 1 by default. |
protected com.bea.document.IDocumentDefinition |
m_requestDocDef
Encapsulates the schema and root element name for the request document for this interaction. |
protected com.bea.document.IDocumentDefinition |
m_responseDocDef
Encapsulates the schema and root element name for the response document for this interaction. |
Fields inherited from interface javax.resource.cci.InteractionSpec |
---|
SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE |
Constructor Summary | |
---|---|
DocumentInteractionSpecImpl()
|
|
DocumentInteractionSpecImpl(String strFunctionName)
|
|
DocumentInteractionSpecImpl(String strFunctionName,
int iVerb,
int iTimeOut)
|
Method Summary | |
---|---|
boolean |
disallowNamespacesInRequest()
Indicates if this adapter does not know how to deal with namespaces. |
IClientData |
getClientData()
Get the client data to be used by the adapter during its Interaction.execute() processing, or null if none was specified. |
com.bea.document.IDocument |
getDefaultRequestDocument()
|
com.bea.document.IDocument |
getDefaultResponseDocument()
|
com.bea.document.IDocumentDefinition |
getRequestDocumentDefinition()
Gets the request document definition for this InteractionSpec. |
com.bea.document.IDocumentDefinition |
getResponseDocumentDefinition()
Gets the response document definition for this InteractionSpec. |
void |
setClientData(IClientData data)
Store the client data to be used by the adapter during its Interaction.execute() processing. |
void |
setRequestDocumentDefinition(com.bea.document.IDocumentDefinition docDef)
Sets the request document definition |
void |
setResponseDocumentDefinition(com.bea.document.IDocumentDefinition docDef)
Sets the response document definition |
String |
toString()
|
void |
vetoableChange(PropertyChangeEvent evt)
Verifies if the given property change is valid; implements all of our property validation routines for the request/response document definitions |
Methods inherited from class com.bea.adapter.cci.InteractionSpecImpl |
---|
addPropertyChangeListener, addVetoableChangeListener, fireChangeEvent, getExecutionTimeout, getFunctionName, getInteractionVerb, getInteractionVerbAsStr, propertyChange, removePropertyChangeListener, removeVetoableChangeListener, setExecutionTimeout, setFunctionName, setInteractionVerb |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected com.bea.document.IDocumentDefinition m_requestDocDef
protected com.bea.document.IDocumentDefinition m_responseDocDef
protected com.bea.document.IDocument m_defaultRequestDoc
protected com.bea.document.IDocument m_defaultResponseDoc
protected IClientData m_clientData
Constructor Detail |
---|
public DocumentInteractionSpecImpl()
public DocumentInteractionSpecImpl(String strFunctionName) throws javax.resource.ResourceException
javax.resource.ResourceException
public DocumentInteractionSpecImpl(String strFunctionName, int iVerb, int iTimeOut) throws javax.resource.ResourceException
javax.resource.ResourceException
Method Detail |
---|
public void setRequestDocumentDefinition(com.bea.document.IDocumentDefinition docDef) throws javax.resource.ResourceException
setRequestDocumentDefinition
in interface DocumentInteractionSpec
javax.resource.ResourceException
- if the new property value was vetoed by a registered
listenerpublic com.bea.document.IDocumentDefinition getRequestDocumentDefinition()
getRequestDocumentDefinition
in interface DocumentInteractionSpec
public void setResponseDocumentDefinition(com.bea.document.IDocumentDefinition docDef) throws javax.resource.ResourceException
setResponseDocumentDefinition
in interface DocumentInteractionSpec
javax.resource.ResourceException
- if the new property value was vetoed by a registered
listenerpublic com.bea.document.IDocumentDefinition getResponseDocumentDefinition()
getResponseDocumentDefinition
in interface DocumentInteractionSpec
public com.bea.document.IDocument getDefaultRequestDocument()
public com.bea.document.IDocument getDefaultResponseDocument()
public void setClientData(IClientData data) throws javax.resource.ResourceException
setClientData
in interface ClientDataInteractionSpec
javax.resource.ResourceException
public IClientData getClientData()
getClientData
in interface ClientDataInteractionSpec
public void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException
vetoableChange
in interface VetoableChangeListener
vetoableChange
in class InteractionSpecImpl
PropertyVetoException
public boolean disallowNamespacesInRequest()
public String toString()
toString
in class InteractionSpecImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |