@PermitAll public class SharedRecordNotifierImpl extends Object implements EnginePlugin, SharedRecordNotifier
Synchronization
before a transaction is completed. Waiting-for notifications
from the last iteration are set after an engine loop.Constructor and Description |
---|
SharedRecordNotifierImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterIteration(ModelInstanceEntity modelInstance)
This method is executed after each engine iteration.
|
void |
afterLoop(ModelInstanceEntity modelInstance)
This method is executed after the engine loop has finished.
|
void |
beforeIteration(ModelInstanceEntity modelInstance)
This method is executed before each engine iteration.
|
void |
beforeLoop(ModelInstanceEntity modelInstance)
This method is executed after a message is handled, but before starting the engine loop.
|
void |
beforeMessage(Message msg,
ModelInstanceEntity modelInstance)
This method is executed before a message is handled.
|
void |
handleNotifications() |
void |
initSharedRecordNotifierData() |
void |
registerAllNotifications()
Registers all waitings for shared record change.
|
void |
sendAllNotifications()
Send all registered notifications.
|
public void initSharedRecordNotifierData()
initSharedRecordNotifierData
in interface SharedRecordNotifier
public void handleNotifications()
handleNotifications
in interface SharedRecordNotifier
public void sendAllNotifications()
SharedRecordNotifier
sendAllNotifications
in interface SharedRecordNotifier
public void registerAllNotifications()
SharedRecordNotifier
registerAllNotifications
in interface SharedRecordNotifier
public void beforeMessage(Message msg, ModelInstanceEntity modelInstance)
EnginePlugin
beforeMessage
in interface EnginePlugin
public void beforeLoop(ModelInstanceEntity modelInstance)
EnginePlugin
beforeLoop
in interface EnginePlugin
public void afterLoop(ModelInstanceEntity modelInstance)
EnginePlugin
afterLoop
in interface EnginePlugin
public void beforeIteration(ModelInstanceEntity modelInstance)
EnginePlugin
beforeIteration
in interface EnginePlugin
public void afterIteration(ModelInstanceEntity modelInstance)
EnginePlugin
afterIteration
in interface EnginePlugin
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.