WB
- The WaveBean type used for this command (by default you can use the WaveBean interface)@RunInto(value=JIT) public class DefaultMultiBeanCommand<WB extends WaveBean> extends AbstractMultiCommand<WB>
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 |
---|
DefaultMultiBeanCommand()
Default Constructor.
|
DefaultMultiBeanCommand(boolean sequential)
Default Constructor.
|
DefaultMultiBeanCommand(RunType runInto)
Default Constructor.
|
DefaultMultiBeanCommand(RunType runInto,
boolean sequential)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected List<UniqueKey<? extends Command>> |
defineSubCommand()
This method must be used to return the list of sub command keys.
|
protected void |
initCommand()
Custom method used to initialize the command.
|
protected void |
initInnerComponents()
Initialize method that should wrap all creation of
InnerComponent . |
afterPerform, beforePerform, getCommandKey, isRunning, isSequential, perform, ready, setSequential, waveCancelled, waveConsumed, waveCreated, waveDestroyed, waveFailed, waveHandled, waveProcessed, waveSent
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
waveBean
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 DefaultMultiBeanCommand()
public DefaultMultiBeanCommand(boolean sequential)
sequential
- indicate if commands must be run sequentially(true) or in parallel(false)public DefaultMultiBeanCommand(RunType runInto)
runInto
- The run into thread typepublic DefaultMultiBeanCommand(RunType runInto, boolean sequential)
runInto
- The run into thread typesequential
- indicate if commands must be run sequentially(true) or in parallel(false)protected void initCommand()
initCommand
in class AbstractMultiCommand<WB extends WaveBean>
protected List<UniqueKey<? extends Command>> defineSubCommand()
AbstractMultiCommand.getCommandKey(Class, Object...)
.defineSubCommand
in class AbstractMultiCommand<WB extends WaveBean>
protected void initInnerComponents()
InnerComponent
.
It shall contain only EnhancedComponent
.addInnerComponent calls.initInnerComponents
in class AbstractComponent<Command>
Copyright © 2011–2016 JRebirth OSS. All rights reserved.