org.oddjob.state
Class StateReflector
java.lang.Object
org.oddjob.framework.BaseComponent
org.oddjob.framework.BasePrimary
org.oddjob.framework.StructuralJob<Object>
org.oddjob.framework.SimultaneousStructural
org.oddjob.state.StateReflector
- All Implemented Interfaces:
- Serializable, Runnable, ArooaContextAware, ArooaSessionAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resetable, Stateful, Stoppable, Structural
- Direct Known Subclasses:
- AndState, OrState
public abstract class StateReflector
- extends SimultaneousStructural
Base class for Jobs that are designed purely to reflect the state of
their child jobs.
- See Also:
- Serialized Form
- Author:
- rob
Method Summary |
boolean |
isJoin()
|
void |
stop()
Implementation for a typical stop. |
Methods inherited from class org.oddjob.framework.StructuralJob |
addStructuralListener, fireDestroyedState, force, getInitialStateOp, getStateChanger, hardReset, isStop, onDestroy, onReset, removeStructuralListener, run, softReset, stateHandler |
Methods inherited from class org.oddjob.framework.BaseComponent |
addIconListener, addPropertyChangeListener, addStateListener, configure, destroy, firePropertyChange, getArooaSession, iconForId, initialise, lastStateEvent, onConfigured, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSession |
StateReflector
public StateReflector()
stop
public void stop()
throws FailedToStopException
- Description copied from class:
StructuralJob
- Implementation for a typical stop.
This stop implementation doesn't check that the job is
executing as stop messages must cascade down the hierarchy
to manually started jobs.
- Specified by:
stop
in interface Stoppable
- Overrides:
stop
in class StructuralJob<Object>
- Throws:
FailedToStopException
isJoin
public boolean isJoin()
- Overrides:
isJoin
in class SimultaneousStructural