The properties of the beans (see, Table 3-6, And set up the event source-listener relationships – HP NonStop G-Series User Manual
Page 199: Using the joltbeans repository and, Setting the property values
![background image](/manuals/398286/199/background.png)
Choose serviceReturned as the event. Select "serviceReturned..." as the method. Press Next. The Interaction Wizard "How it should
happen" similar to the example shown in
2.
Select "A variable or parameter." Select Finish.
3.
6. Wire the JoltSessionBean logoff
The results of completing these two steps will enable the logoff() method of the JoltSessionBean to be triggered by an applet (e.g.,
componentHidden) that is sent when the applet gets hidden.
Select the Interaction Wizard button. Click in the applet window (not on another bean) and drag a line to the JoltSessionBean. The
Interaction Wizard window similar to the example shown in
displays.
1.
Choose componentHidden as event and select "Logoff from the TUXEDO system" as method. Select Finish.
2.
7. Compile the applet
Upon completion of the wiring, compile your applet using your development software.
Fill in the empty catch blocks for exceptions. For example, you can add the following error handling code:
e.printStackTrace();
Check the message window for any compilation errors and exceptions.
Using the JoltBeans Repository and Setting the Property Values
Custom Property Editors are provided for the following properties:
JoltFieldName (Jolt aware AWT beans)
●
serviceName (JoltServiceBean)
●
The Property Editor, accessed from the Property List, includes dialog boxes that are used to add or modify the properties. You can invoke
the boxes from the Property List by selecting the button with the ellipsis "..." that is next to the value of the corresponding property value.
Some JoltBeans require input in the Property List field. The beans are listed in
Table 3-6. JoltBean Specific Properties
JoltBean
Property
Input Description
JoltSessionBean
appAddress
e.g., //host:port
userName, Password or
AppPassword
Type your TUXEDO user
name and passwords.
JoltServiceBean
serviceName
e.g., INQUIRY
isTransactional
Set to true if the service needs
to be executed within a
transaction. Set
isTransactional to false if the
service does not require a
transaction.
JoltUserEventBean
eventName
Refer to the TUXEDO
tpsubscribe calls.
filter
all Jolt aware AWT beans joltFieldName
e.g., ACCOUNT_ID
occurrenceIndex
Multiple fields of the same
name. Index starts at 0.
JoltCheckbox
TrueValue and FalseValue
The field value corresponding
to the state of the checkbox.
The property editor reads cached information from the repository and returns names of the available services and data elements in a list box.
An example of the ServiceName property editor is shown in