public interface CommandReady
Modifier and Type | Method and Description |
---|---|
Wave |
callCommand(Class<? extends Command> commandClass,
WaveData<?>... data)
Send a wave used to call a command.
|
<WB extends WaveBean> |
callCommand(Class<? extends CommandBean<WB>> commandClass,
WB waveBean)
Send a wave used to call a command.
|
<C extends Command> |
getCommand(Class<C> clazz,
Object... keyPart)
Return the command singleton or part of multiton.
|
<C extends Command> |
getCommand(UniqueKey<C> commandKey)
Return the command singleton or part of multiton according to
UniqueKey . |
<C extends Command> |
getCommands(Class<C> clazz,
Object... keyPart)
Return the list of command singleton or part of multiton.
|
<C extends Command> |
getCommands(UniqueKey<C> commandKey)
Return the list of command singleton or part of multiton according to
UniqueKey . |
<C extends Command> C getCommand(Class<C> clazz, Object... keyPart)
C
- a sub class of commandclazz
- the service class to findkeyPart
- the unique key (in option)<C extends Command> C getCommand(UniqueKey<C> commandKey)
UniqueKey
.<C extends Command> List<C> getCommands(Class<C> clazz, Object... keyPart)
C
- a sub class of commandclazz
- the service class to findkeyPart
- the unique key (in option)<C extends Command> List<C> getCommands(UniqueKey<C> commandKey)
UniqueKey
.Wave callCommand(Class<? extends Command> commandClass, WaveData<?>... data)
commandClass
- the command class to calldata
- the data to transport<WB extends WaveBean> Wave callCommand(Class<? extends CommandBean<WB>> commandClass, WB waveBean)
WB
- the type of the wave bean to usedcommandClass
- the command class to callwaveBean
- the WaveBean that holds all required wave dataCopyright © 2011–2016 JRebirth OSS. All rights reserved.