Package com.iizix.actionactor
Interface IActionActorSettingsReceiver<SETTINGS extends AbstractSettings>
- All Known Subinterfaces:
- IJavaActionActor
 - All Known Implementing Classes:
- AbstractActionActorTXPNode,- AbstractJavaActionActor,- DatabaseActionTXPNode,- TestJavaActionActor
 - public interface IActionActorSettingsReceiver<SETTINGS extends AbstractSettings>Interface implements by an Action Actor that wishes to receive the Settings container.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - void- assignSettings(VSActionTXProcess actionProcess, SETTINGS settings)Called when the construction is performed of the node to assign the settings property container.- default VSAction- getAction()Gets the action associated with the VirtualSpace Action TXP process.- VSActionTXProcess- getActionProcess()Gets the action transaction process.- SETTINGS- getSettings()Gets the settings container.- default VirtualSpace- getVirtualSpace()Gets the VirtualSpace for the process VirtualSpace Action TXP process.
 
- Method Detail- assignSettings- void assignSettings(VSActionTXProcess actionProcess, SETTINGS settings) throws java.lang.IllegalStateException Called when the construction is performed of the node to assign the settings property container.- This method is called by the framework and should not be called. - Parameters:
- actionProcess- The action process.
- settings- The property container instance.
- Throws:
- java.lang.IllegalStateException- If called outside of the framework.
 
 - getActionProcess- VSActionTXProcess getActionProcess() Gets the action transaction process.- Returns:
- The VSActionTXProcess instance invoking this Java Actor, or nullif called in e.g. the constructor and the initialization usingassignSettings(VSActionTXProcess, AbstractSettings)
 
 - getSettings- SETTINGS getSettings() Gets the settings container. If this call is done in the constructor, it will return null.- Returns:
- The settings container, or null if not yet set. After constructor has been called, this value is non-null.
 
 - getAction- default VSAction getAction() Gets the action associated with the VirtualSpace Action TXP process.- Returns:
- The VSAction instance invoking this Java Actor, or nullif called in e.g. the constructor and the initialization usingassignSettings(VSActionTXProcess, AbstractSettings)
 
 - getVirtualSpace- default VirtualSpace getVirtualSpace() Gets the VirtualSpace for the process VirtualSpace Action TXP process.- Returns:
- The VirtualSpace instance invoking this Java Actor, or nullif called in e.g. the constructor and the initialization usingassignSettings(VSActionTXProcess, AbstractSettings)