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
Modifier and TypeMethodDescriptionvoid
assignSettings
(VSActionTXProcess actionProcess, SETTINGS settings) Called when the construction is performed of the node to assign the settings property container.default VSAction
Gets the action associated with the VirtualSpace Action TXP process.Gets the action transaction process.Gets the settings container.default VirtualSpace
Gets the VirtualSpace for the process VirtualSpace Action TXP process.
Method Details
assignSettings
void 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.
getActionProcess
VSActionTXProcess getActionProcess()Gets the action transaction process.- Returns:
- The VSActionTXProcess instance invoking this Java Actor, or
null
if called in e.g. the constructor and the initialization using
has not yet been done.assignSettings(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
Gets the action associated with the VirtualSpace Action TXP process.- Returns:
- The VSAction instance invoking this Java Actor, or
null
if called in e.g. the constructor and the initialization using
has not yet been done.assignSettings(VSActionTXProcess, AbstractSettings)
getVirtualSpace
Gets the VirtualSpace for the process VirtualSpace Action TXP process.- Returns:
- The VirtualSpace instance invoking this Java Actor, or
null
if called in e.g. the constructor and the initialization using
has not yet been done.assignSettings(VSActionTXProcess, AbstractSettings)