| Package | Description |
|---|---|
| org.jrebirth.af.core.facade |
Provides classes to manage all JRebirth facades.
|
| org.jrebirth.af.core.link |
Provides...
|
| org.jrebirth.af.core.ui |
Provides base classes for JRebirth UI layer.
|
| org.jrebirth.af.core.util |
Provides utility classes used by JRebirth.
|
| org.jrebirth.af.core.wave |
Provides all Wave related classes.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
WaveReady.getReturnWaveType(WaveType waveType)
Return the return wave type.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Command> |
WaveReady.getReturnCommand(WaveType waveType)
Return the return Command to call for given wave type.
|
WaveType |
WaveReady.getReturnWaveType(WaveType waveType)
Return the return wave type.
|
void |
WaveReady.listen(WaveChecker waveChecker,
Method method,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
WaveReady.listen(WaveChecker waveChecker,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
WaveReady.listen(WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
WaveReady.registerCallback(WaveChecker waveChecker,
WaveType callType,
WaveType responseType,
Class<? extends Command> returnCommandClass)
Register a wave call back contract.
|
void |
WaveReady.registerCallback(WaveType callType,
WaveType responseType)
Register a wave call back contract.
|
void |
WaveReady.registerCallback(WaveType callType,
WaveType responseType,
Class<? extends Command> returnCommandClass)
Register a wave call back contract.
|
Wave |
WaveReady.sendWave(WaveType waveType,
WaveData<?>... waveData)
Send a wave to the notifier.
|
void |
WaveReady.unlisten(WaveType... waveTypes)
Stop to listen the type of wave for the current component.
|
| Modifier and Type | Field and Description |
|---|---|
private WaveType |
WaveSubscription.waveType
The listened wave type.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<WaveType,WaveSubscription> |
NotifierBase.notifierMap
The map that store link between wave type and objects interested.
|
private Map<WaveType,Class<? extends Command>> |
AbstractWaveReady.returnCommandClass
The return command class map.
|
private Map<WaveType,WaveType> |
AbstractWaveReady.returnWaveTypeMap
The return wave type map.
|
private Map<WaveType,WaveType> |
AbstractWaveReady.returnWaveTypeMap
The return wave type map.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
AbstractWaveReady.getReturnWaveType(WaveType waveType)
Return the return wave type.
|
WaveType |
WaveSubscription.getWaveType() |
| Modifier and Type | Method and Description |
|---|---|
private Wave |
AbstractWaveReady.createWave(WaveGroup waveGroup,
WaveType waveType,
Class<?> relatedClass,
WaveBean waveBean)
Build a wave object with its dedicated WaveBean.
|
private Wave |
AbstractWaveReady.createWave(WaveGroup waveGroup,
WaveType waveType,
Class<?> relatedClass,
WaveData<?>... waveData)
Build a wave object.
|
Class<? extends Command> |
AbstractWaveReady.getReturnCommand(WaveType waveType)
Return the return Command to call for given wave type.
|
WaveType |
AbstractWaveReady.getReturnWaveType(WaveType waveType)
Return the return wave type.
|
private String |
AbstractWaveReady.getWaveTypesString(WaveType[] waveTypes)
Return the human-readable list of Wave Type.
|
void |
AbstractWaveReady.listen(WaveChecker waveChecker,
Method method,
WaveType... waveTypes)
Begin to listen the type of wave for the current component.
|
void |
AbstractWaveReady.listen(WaveChecker waveChecker,
WaveType... waveTypes)
Begin to listen the type of wave for the current component.
|
void |
Notifier.listen(WaveReady<?> linkedObject,
WaveChecker waveChecker,
Method method,
WaveType... waveTypes)
Start to listen a defined type of wave.
|
void |
NotifierBase.listen(WaveReady<?> linkedObject,
WaveChecker waveChecker,
Method method,
WaveType... waveTypes)
Start to listen a defined type of wave.
|
void |
AbstractWaveReady.listen(WaveType... waveTypes)
Begin to listen the type of wave for the current component.
|
static WaveSubscription |
NotifierBase.LoopBuilder.newSubscription(WaveType waveType)
Build a new
WaveSubscription. |
void |
AbstractWaveReady.registerCallback(WaveChecker waveChecker,
WaveType callType,
WaveType responseType,
Class<? extends Command> returnCommandClass)
Register a wave call back contract.
|
void |
AbstractWaveReady.registerCallback(WaveType callType,
WaveType responseType)
Register a wave call back contract.
|
void |
AbstractWaveReady.registerCallback(WaveType callType,
WaveType responseType,
Class<? extends Command> returnCommandClass)
Register a wave call back contract.
|
Wave |
AbstractWaveReady.returnData(Class<? extends Service> serviceClass,
WaveType waveType,
WaveData<?>... data)
Send a wave used to return data from a service.
|
Wave |
ServiceReady.returnData(Class<? extends Service> serviceClass,
WaveType waveType,
WaveData<?>... data)
Send a wave used to return data from a service.
|
Wave |
AbstractWaveReady.sendWave(WaveType waveType,
WaveData<?>... waveData)
Send a wave to the notifier.
|
void |
Notifier.unlisten(WaveReady<?> linkedObject,
WaveType... waveType)
Stop to listen a defined type of wave.
|
void |
NotifierBase.unlisten(WaveReady<?> linkedObject,
WaveType... waveTypes)
Stop to listen a defined type of wave.
|
void |
AbstractWaveReady.unlisten(WaveType... waveTypes)
Stop to listen the type of wave for the current component.
|
| Constructor and Description |
|---|
WaveSubscription(WaveType waveType,
List<WaveHandler> waveHandlers)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <E extends Event> |
AbstractController.linkWave(Node node,
EventType<E> eventType,
WaveType waveType,
Callback<E,Boolean> callback,
WaveData<?>... waveData)
Link the creation of a wave to an event triggered on a node.
|
protected <E extends Event> |
AbstractController.linkWave(Node node,
EventType<E> eventType,
WaveType waveType,
WaveData<?>... waveData)
Link the creation of a wave to an event triggered on a node.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CheckerUtility.checkWaveTypeContract(Class<? extends WaveReady> waveReadyClass,
WaveType... waveTypes)
Check if wave Type contract is respected for the the given
WaveReady class. |
| Modifier and Type | Class and Description |
|---|---|
class |
WaveTypeBase
The class WaveTypeBase.
|
| Modifier and Type | Field and Description |
|---|---|
static WaveType |
JRebirthWaves.HIDE_VIEW
The waveType used to hide a view.
|
private WaveType |
WaveTypeBase.returnWaveType
The wave type of the wave returned after processing.
|
static WaveType |
JRebirthWaves.SHOW_VIEW
The waveType used to show a view (start or reload).
|
private WaveType |
WaveBase.waveType
The type of the wave used to call the right method name of the receiver object.
|
private WaveType |
WaveBuilder.waveType
The wave type of the wave to build.
|
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,WaveType> |
WaveTypeBase.waveTypeMap
Map that store WaveType used according to their unique identifier.
|
| Modifier and Type | Method and Description |
|---|---|
WaveType |
WaveTypeBase.getReturnWaveType()
Gets the return wave type.
|
WaveType |
WaveBase.getWaveType() |
WaveType |
Wave.getWaveType() |
static WaveType |
WaveTypeBase.getWaveType(String action)
Retrieve a WaveType according to its unique action name.
|
| Modifier and Type | Method and Description |
|---|---|
static WaveTypeBase |
WaveTypeBase.build(String action,
WaveType returnWaveType,
WaveItem<?>... waveItems)
Build a wave type.
|
void |
WaveTypeBase.setReturnWaveType(WaveType returnWaveType)
Sets the return wave type.
|
void |
WaveBase.setWaveType(WaveType waveType) |
void |
Wave.setWaveType(WaveType waveType) |
B |
WaveBuilder.waveType(WaveType waveType)
Define the wave type.
|
Copyright © 2011–2014 JRebirth OSS. All rights reserved.