javax.resource.cci

Interface InteractionSpec

  • All Superinterfaces:
    Serializable

    public interface InteractionSpec
    extends Serializable
    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:

    • FunctionName: name of an EIS function
    • InteractionVerb: mode of interaction with an EIS instance: SYNC_SEND, SYNC_SEND_RECEIVE, SYNC_RECEIVE
    • ExecutionTimeout: the number of milliseconds an Interaction will wait for an EIS to execute the specified function

    The following standard properties are used to give hints to an Interaction instance about the ResultSet requirements:

    • FetchSize
    • FetchDirection
    • MaxFieldSize
    • ResultSetType
    • ResultSetConcurrency

    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.

    Since:
    0.8
    Version:
    0.8
    Author:
    Rahul Sharma
    See Also:
    Interaction
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      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.

      Eerste pagina van API Java Inhoudsopgave Haut

    • Field Detail

      • SYNC_SEND

        static final int SYNC_SEND
        Interaction Verb type: The execution of an Interaction does only a send to the target EIS instance. The input record is sent to the EIS instance without any synchronous response in terms of an output Record or ResultSet.
        See Also:
        Constant Field Values
      • SYNC_SEND_RECEIVE

        static final int SYNC_SEND_RECEIVE
        Interaction Verb type: The execution of an Interaction sends a request to the EIS instance and receives response synchronously. The input record is sent to the EIS instance with the output received either as Record or CCIResultSet.
        See Also:
        Constant Field Values
      • SYNC_RECEIVE

        static final int SYNC_RECEIVE
        The execution of an Interaction results in a synchronous receive of an output Record. An example is: a session bean gets a method invocation and it uses this SEND_RECEIVE form of interaction to retrieve messages that have been delivered to a message queue.
        See Also:
        Constant Field Values

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/resource/cci/interactionspec.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.