public class ChainWaveCommand extends DefaultCommand implements WaveListener
runIntoThread, runnablePriority
innerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponent
ADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, NOTIFIER_HANDLES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR
booleanItem, byteItem, characterItem, classItem, doubleItem, exceptionItem, floatItem, integerItem, longItem, shortItem, stringItem, voidItem
Constructor and Description |
---|
ChainWaveCommand() |
Modifier and Type | Method and Description |
---|---|
void |
afterPerform(Wave wave)
Actions to perform after the command into the executor thread.
|
protected void |
perform(Wave wave)
Perform the command code.
|
void |
waveCancelled(Wave wave)
The wave has just been cancelled.
|
void |
waveConsumed(Wave wave)
The wave has just been consumed.
|
void |
waveCreated(Wave wave)
The wave has just been created.
|
void |
waveDestroyed(Wave wave)
The wave has just been destroyed.
|
void |
waveFailed(Wave wave)
The wave processing has failed.
|
void |
waveHandled(Wave wave)
The wave has just been handled.
|
void |
waveProcessed(Wave wave)
The wave is being processed.
|
void |
waveSent(Wave wave)
The wave has just been sent to the notifier.
|
initCommand, initInnerComponents
beforePerform, isRunning, ready
finalize, fireConsumed, fireFailed, fireHandled, getPriorityLevel, getRunInto, processWave, run, run, waveBean
addBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalData
attachUi, callCommand, callCommand, findInnerComponent, getInnerComponentMap, initInternalInnerComponents, listen, listen, listen, release, returnData, rootComponent, rootComponent, sendWave, sendWave, sendWave, setup, unlisten
getCommand, getCommand, getCommands, getCommands, getFirstKeyPart, getKeyPart, getListKeyPart, getModel, getModel, getModels, getModels, getSecondKeyPart, getService, getService, getServices, getServices, getThirdKeyPart, key, key, localFacade, localFacade
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior
findInnerComponent, listen, listen, listen, rootComponent, rootComponent, sendWave, sendWave, sendWave, unlisten
key, key, localFacade, localFacade, release, setup
attachUi, getModel, getModel, getModels, getModels
getService, getService, getServices, getServices, returnData
callCommand, callCommand, getCommand, getCommand, getCommands, getCommands
public ChainWaveCommand()
protected void perform(Wave wave)
perform
in class DefaultBeanCommand<DefaultWaveBean>
wave
- the wave that contain data to be processedpublic void afterPerform(Wave wave)
afterPerform
in class AbstractSingleCommand<DefaultWaveBean>
wave
- the wave that triggered this commandpublic void waveCreated(Wave wave)
waveCreated
in interface WaveListener
wave
- the created wavepublic void waveSent(Wave wave)
waveSent
in interface WaveListener
wave
- the sent wavepublic void waveProcessed(Wave wave)
waveProcessed
in interface WaveListener
wave
- the processed wavepublic void waveConsumed(Wave wave)
waveConsumed
in interface WaveListener
wave
- the consumed wavepublic void waveHandled(Wave wave)
waveHandled
in interface WaveListener
wave
- the consumed wavepublic void waveFailed(Wave wave)
waveFailed
in interface WaveListener
wave
- the failed wavepublic void waveCancelled(Wave wave)
waveCancelled
in interface WaveListener
wave
- the cancelled wavepublic void waveDestroyed(Wave wave)
waveDestroyed
in interface WaveListener
wave
- the destroyed waveCopyright © 2011–2016 JRebirth OSS. All rights reserved.