|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.processingbean.ProcessingBean
This class is a base class for all non-visual(!) beans.
This abstract class provides implementation for firing events,(!) such as(!)
FetchArgumentsEvent, TriggerNextActionEvent, ActionErrorEvent,(!) and
PropertyChangeEvent
,(!) which are to be fired by these beans. This class
provides methods for triggering the computation of (!)
bean(triggerAction
). It should be subclassed to provide the
concrete implementation.
FetchArgumentsEvent
,
FetchArgumentsListener
,
TriggerNextActionEvent
,
TriggerNextActionListener
,
ActionErrorEvent
,
ActionErrorListener
, Serialized FormConstructor Summary | |
ProcessingBean()
Default constructor |
Method Summary | |
void |
addActionErrorListener(ActionErrorListener listener)
Adds (!) ActionErrorListener to the listeners list. |
void |
addFetchArgumentsListener(FetchArgumentsListener listener)
Adds (!) FetchArgumentsListener to the listeners(!) list. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds (!) PropertyChangeListener to the listeners list. |
void |
addTriggerNextActionListener(TriggerNextActionListener listener)
Adds (!) TriggerNextActionListener to the listeners list. |
void |
removeActionErrorListener(ActionErrorListener listener)
Removes (!) ActionErrorListener from the listeners(!) list. |
void |
removeFetchArgumentsListener(FetchArgumentsListener listener)
Removes (!) FetchArgumentsListener from the listeners(!) list. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes (!) PropertyChangeListener from the listeners(!) list. |
void |
removeTriggerNextActionListener(TriggerNextActionListener listener)
Removes (!) TriggerNextActionListener from the listeners(!) list. |
void |
triggerAction()
Initiates the computation of the bean. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ProcessingBean()
Method Detail |
public void addActionErrorListener(ActionErrorListener listener)
listener
- The ActionErrorListener to be addedActionErrorListener
,
removeActionErrorListener(com.ibm.processingbean.events.ActionErrorListener)
public void addFetchArgumentsListener(FetchArgumentsListener listener)
listener
- The FetchArgumentsListener to be addedFetchArgumentsListener
,
removeFetchArgumentsListener(com.ibm.processingbean.events.FetchArgumentsListener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be addedPropertyChangeListener
,
removePropertyChangeListener(java.beans.PropertyChangeListener)
public void addTriggerNextActionListener(TriggerNextActionListener listener)
listener
- The TriggerNextActionListener to be addedTriggerNextActionListener
,
removeTriggerNextActionListener(com.ibm.processingbean.events.TriggerNextActionListener)
public void removeActionErrorListener(ActionErrorListener listener)
listener
- The ActionErrorListener to be removedActionErrorListener
,
addActionErrorListener(com.ibm.processingbean.events.ActionErrorListener)
public void removeFetchArgumentsListener(FetchArgumentsListener listener)
listener
- The FetchArgumentsListener to be removedFetchArgumentsListener
,
addFetchArgumentsListener(com.ibm.processingbean.events.FetchArgumentsListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be removedPropertyChangeListener
,
addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeTriggerNextActionListener(TriggerNextActionListener listener)
listener
- The TriggerNextActionListener to be removedTriggerNextActionListener
,
addTriggerNextActionListener(com.ibm.processingbean.events.TriggerNextActionListener)
public void triggerAction()
FetchArgumentsEvent
to be fired.
This event is used for setting the input or control arguments of its
subclass. After firing this event, it checks the precondition. If the precondition
is satisfied, it calls the computeFunction
(whose implementation is
defined in the subclass) else ActionErrorEvent
is fired. If the
computeFunction
is successful, TriggerNextActionEvent
is fired else ActionErrorEvent
is fired.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |