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 SummaryModifier and TypeMethodDescription- void- assignSettings- (VSActionTXProcess actionProcess, SETTINGS settings) Called when the construction is performed of the node to assign the settings property container.- default VSActionGets the action associated with the VirtualSpace Action TXP process.Gets the action transaction process.Gets the settings container.- default VirtualSpaceGets the VirtualSpace for the process VirtualSpace Action TXP process.
- Method Details- assignSettingsvoid assignSettings- (VSActionTXProcess actionProcess, SETTINGS settings) throws 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:
- IllegalStateException- If called outside of the framework.
 
- getActionProcessVSActionTXProcess 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)
 
- getSettingsSETTINGS 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.
 
- getActionGets 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)
 
- getVirtualSpaceGets 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)