|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InteractionSpec
An InteractionSpec holds properties for driving an Interaction with an EIS instance. An InteractionSpec is used by an Interaction to execute the specified function on an underlying EIS.
The CCI specification defines a set of standard properties for an InteractionSpec. An InteractionSpec implementation is not required to support a standard property if that property does not apply to its underlying EIS.
The InteractionSpec implementation class must provide getter and setter methods for each of its supported properties. The getter and setter methods convention should be based on the Java Beans design pattern.
The standard properties are as follows:
The following standard properties are used to give hints to an Interaction instance about the ResultSet requirements:
A CCI implementation can provide additional properties beyond that described in the InteractionSpec interface. Note that the format and type of the additional properties is specific to an EIS and is outside the scope of the CCI specification.
It is required that the InteractionSpec interface be implemented as a JavaBean for the toolability support. The properties on the InteractionSpec implementation class should be defined through the getter and setter methods pattern. An implementation class for InteractionSpec interface is required to implement the java.io.Serializable interface.
Interaction
Field Summary | |
---|---|
static int |
SYNC_RECEIVE
The execution of an Interaction results in a synchronous receive of an output Record. |
static int |
SYNC_SEND
Interaction Verb type: The execution of an Interaction does only a send to the target EIS instance. |
static int |
SYNC_SEND_RECEIVE
Interaction Verb type: The execution of an Interaction sends a request to the EIS instance and receives response synchronously. |
Field Detail |
---|
static final int SYNC_SEND
static final int SYNC_SEND_RECEIVE
static final int SYNC_RECEIVE
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.