| Package | Description |
|---|---|
| org.jrebirth.af.api.component.basic |
Provides base classes to create JRebirth EnhancedComponent.
|
| org.jrebirth.af.api.link |
Provides link classes.
|
| org.jrebirth.af.api.wave |
Provides classes used to send waves and perform them.
|
| org.jrebirth.af.api.wave.contract |
Provides class that define Wave contract.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Component.listen(WaveChecker waveChecker,
Method method,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
Component.listen(WaveChecker waveChecker,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
Component.listen(WaveType... waveType)
Begin to listen the type of wave for the current component.
|
Wave |
Component.sendWave(WaveType waveType,
WaveData<?>... waveData)
Send a wave to the notifier.
|
<WB extends WaveBean> |
Component.sendWave(WaveType waveType,
WB waveBean)
Send a wave to the notifier.
|
void |
Component.unlisten(WaveType... waveTypes)
Stop to listen the type of wave for the current component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Notifier.listen(Component<?> linkedObject,
WaveChecker waveChecker,
Method method,
WaveType... waveTypes)
Start to listen a defined type of wave.
|
Wave |
ServiceReady.returnData(Class<? extends Service> serviceClass,
WaveType waveType,
WaveData<?>... data)
Send a wave used to return data from a service.
|
void |
Notifier.unlisten(Component<?> linkedObject,
WaveType... waveType)
Stop to listen a defined type of wave.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
Wave.waveType() |
| Modifier and Type | Method and Description |
|---|---|
Wave |
Wave.waveType(WaveType waveType) |
| Modifier and Type | Method and Description |
|---|---|
WaveType |
WaveType.action(String action)
Set the action name.
|
WaveType |
WaveType.items(WaveItem<?>... items)
Set all WaveItems used by the current WaveType used as parameter during wave handling.
|
WaveType |
WaveType.onException(Class<? extends Command> exceptionCommandClass,
Class<? extends Throwable>... exceptionTypes)
Define the Command to call in order to handle given exception types.
|
WaveType |
WaveType.onException(WaveType exceptionWaveType,
Class<? extends Throwable>... exceptionTypes)
Define the
WaveType to send in order to manage given exception types. |
WaveType |
WaveType.returnAction(String action)
Set the return Wave Type action name.
|
WaveType |
WaveType.returnCommandClass(Class<? extends Command> returnCommandClass)
Set the Command to call in order to process the returned value.
|
WaveType |
WaveType.returnItem(WaveItem<?> returnItem)
Set the WaveItem that hold the type sent to hold the current WaveType result.
|
WaveType |
WaveType.returnWaveType()
Return the WaveType emitted as the result of the current WaveType.
|
WaveType |
WaveType.returnWaveType(WaveType returnWaveType)
Set the WaveType that will be used a return, override returnItem and returnAction.
|
WaveType |
WaveType.uid(int uid)
Sets the unique identifier of the WaveType.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
WaveType.onException(WaveType exceptionWaveType,
Class<? extends Throwable>... exceptionTypes)
Define the
WaveType to send in order to manage given exception types. |
WaveType |
WaveType.returnWaveType(WaveType returnWaveType)
Set the WaveType that will be used a return, override returnItem and returnAction.
|
Copyright © 2011–2015 JRebirth OSS. All rights reserved.