public final class NotificationRegistry extends Object
SCXML
root,
EnterableState
s and Transition
s.
The notification registry keeps track of all
SCXMLListener
s attached and notifies relevant
listeners of the events that interest them.Constructor and Description |
---|
NotificationRegistry()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fireOnEntry(Observable source,
EnterableState state)
Inform all relevant listeners that a EnterableState has been
entered.
|
void |
fireOnExit(Observable source,
EnterableState state)
Inform all relevant listeners that a EnterableState has been
exited.
|
void |
fireOnTransition(Observable source,
TransitionTarget from,
TransitionTarget to,
Transition transition,
String event)
Inform all relevant listeners of a transition that has occured.
|
public NotificationRegistry()
public void fireOnEntry(Observable source, EnterableState state)
source
- The Observablestate
- The EnterableState that was enteredpublic void fireOnExit(Observable source, EnterableState state)
source
- The Observablestate
- The EnterableState that was exitedpublic void fireOnTransition(Observable source, TransitionTarget from, TransitionTarget to, Transition transition, String event)
source
- The Observablefrom
- The source EnterableStateto
- The destination EnterableStatetransition
- The Transition that was takenevent
- The event name triggering the transitionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.