bea.jolt.beans
Class JoltApplicationBean
java.lang.Object
|
+--bea.jolt.beans.JoltServiceBean
|
+--bea.jolt.beans.JoltApplicationBean
- All Implemented Interfaces:
- java.util.EventListener, JoltInputListener, JoltOutputListener, java.beans.PropertyChangeListener, java.io.Serializable
- public abstract class JoltApplicationBean
- extends JoltServiceBean
- implements JoltOutputListener
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
getOutputValue(java.lang.String fieldName,
int index)
Get the value of one occurrence of a field in the Jolt
output message buffer using the field's native type. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Event handler for PropertyChange events. |
void |
serviceReturned(JoltOutputEvent evt)
This method will be called by a JoltServiceBean after its
callService() completes successfully or by a JoltSessionBean
when a Tuxedo notfication/event subscribed to by a
JoltUserEventBean has arrived. |
| Methods inherited from class bea.jolt.beans.JoltServiceBean |
addJoltOutputListener, callService, clear, dataChanged, getDebug, getJoltOutputEvent, getOccurrenceCount, getOutputTextValue, getOutputTextValue, getOutputTextValues, getOutputValue, getOutputValues, getServiceName, getSession, getTransactional, isTransactional, removeJoltOutputListener, setDebug, setInputTextValue, setInputTextValue, setInputTextValues, setInputValue, setInputValue, setInputValues, setServiceName, setSession, setTransactional |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoltApplicationBean
public JoltApplicationBean()
- Constructor
JoltApplicationBean
public JoltApplicationBean(java.lang.String def)
serviceReturned
public void serviceReturned(JoltOutputEvent evt)
- Description copied from interface:
JoltOutputListener
- This method will be called by a JoltServiceBean after its
callService() completes successfully or by a JoltSessionBean
when a Tuxedo notfication/event subscribed to by a
JoltUserEventBean has arrived. The JoltServiceBean or
JoltSessionBean sends the JoltOutputEvent to registered
listeners that have implemented this interface. The
implementation of this method typically uses data from
within the event for display or control.
- Specified by:
serviceReturned in interface JoltOutputListener
- Following copied from interface:
bea.jolt.beans.JoltOutputListener
- Parameters:
evt - the event object
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Description copied from class:
JoltServiceBean
- Event handler for PropertyChange events. In this case the
JoltSessionBean will notify the JoltServiceBean when it logs
on and off by raising a PropertyChangeEvent about its
"LoggedOn" property.
Note that a logoff of a session other than the current session
will not affect the JoltServiceBean, but a logon of a
session other than the current session will change the session.
Note:This method should not be called directly.
- Overrides:
propertyChange in class JoltServiceBean
- Following copied from class:
bea.jolt.beans.JoltServiceBean
- Parameters:
evt - The event object.
getOutputValue
public java.lang.Object getOutputValue(java.lang.String fieldName,
int index)
- Description copied from class:
JoltServiceBean
- Get the value of one occurrence of a field in the Jolt
output message buffer using the field's native type.
- Overrides:
getOutputValue in class JoltServiceBean
- Following copied from class:
bea.jolt.beans.JoltServiceBean
- Parameters:
fieldName - Name of the field.index - Index of the field.- Returns:
- Value of the field.