|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.adapter.cci.InteractionSpecImpl
Encapsulates properties for driving an Interaction
with an EIS
instance. Provides a base implementation for adapter providers to extend.
Provides getters and setters for the standard properties (function name,
verb, and timeout) defined by the J2EE Connector Architecture specification
pg. 115. Provides helper methods for implementing the getters and setters
according to the JavaBeans design pattern.
Constructor Summary | |
InteractionSpecImpl()
|
|
InteractionSpecImpl(java.lang.String strFunctionName)
|
|
InteractionSpecImpl(java.lang.String strFunctionName,
int iVerb,
int iTimeOut)
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
To support JavaBeans constrained properties |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener l)
To support JavaBeans constrained properties |
protected void |
fireChangeEvent(java.lang.String strProperty,
java.lang.Object objOldValue,
java.lang.Object objNewValue)
Fires a vetoable property change event to all registered VetoableChangeListeners and a property change event to all registered PropertyChangeListeners if the change was not vetoed. |
int |
getExecutionTimeout()
Retrieves the number of milliseconds an Interaction waits for
an EIS to execute the specified function. |
java.lang.String |
getFunctionName()
Retrieves an EIS function name, such as the name of a transaction program in a CICS system or the name of a function module in an ERP system. |
int |
getInteractionVerb()
Retrieves an integer representing the mode of interaction with an EIS instance. |
java.lang.String |
getInteractionVerbAsStr()
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Handles a property change; subclasses should override this method to supply their own handling of property change events, as this method is no-op. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
To support JavaBeans constrained properties |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener l)
To support JavaBeans constrained properties |
void |
setExecutionTimeout(int iTimeout)
Sets the execution timeout for this |
void |
setFunctionName(java.lang.String strFunctionName)
Sets the function name for this interaction spec |
void |
setInteractionVerb(int iVerb)
Sets the interaction verb for this |
java.lang.String |
toString()
|
void |
vetoableChange(java.beans.PropertyChangeEvent evt)
Verifies if the given property change is valid; subclasses should over-ride this method to supply their own validation as this implementation is no-op. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public InteractionSpecImpl()
public InteractionSpecImpl(java.lang.String strFunctionName) throws javax.resource.ResourceException
public InteractionSpecImpl(java.lang.String strFunctionName, int iVerb, int iTimeOut) throws javax.resource.ResourceException
Method Detail |
public int getExecutionTimeout()
Interaction
waits for
an EIS to execute the specified function. Set to -1 by default.
public java.lang.String getFunctionName()
public int getInteractionVerb()
Interaction
does only a
send to the target EIS. The input record is sent to the EIS instance
without any synchronous response in terms of an output Record
Interaction
sends a
request to the EIS instance and receives response synchronously. This is
the default.
Interaction
results in a
synchronous receive of an output Record
.
public java.lang.String getInteractionVerbAsStr()
public void setFunctionName(java.lang.String strFunctionName) throws javax.resource.ResourceException
public void setInteractionVerb(int iVerb) throws javax.resource.ResourceException
public void setExecutionTimeout(int iTimeout) throws javax.resource.ResourceException
public java.lang.String toString()
protected void fireChangeEvent(java.lang.String strProperty, java.lang.Object objOldValue, java.lang.Object objNewValue) throws javax.resource.ResourceException
public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException
public void propertyChange(java.beans.PropertyChangeEvent evt)
public void addVetoableChangeListener(java.beans.VetoableChangeListener l)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener l)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |