JoltServiceBean

The JoltServiceBean represents a remote Oracle Tuxedo service. The name of the service is set as a property of the JoltServiceBean. The JoltServiceBean listens to JoltInputEvents from other beans to populate its input buffer. JoltServiceBean offers the callService() method to invoke the service. JoltServiceBean is an event source for JoltOutputEvents that carry information about the output of the service. After a successful callService(), listener beans are notified via a JoltOutputEvent that carries the reply message.

Although the primary way of changing and querying the underlying message buffer of the JoltServiceBean is via events, the JoltServiceBean also provides methods to access the underlying message buffer directly (setInputValue(…), getOutputValue(…)).

The following table shows the JoltServiceBean properties and descriptions.

Table 5-2 JoltServiceBean Properties and Descriptions

Property Description
ServiceName The name of the Oracle Tuxedo service represented by this JoltServiceBean.
Session The JoltSessionBean associated with the bean that allows access to the Oracle Tuxedo client session.
Transactional Set to true if this JoltServiceBean is to be included in the transaction that was started by its JoltSessionBean.