flux
Interface PersistentVariableListener

All Known Implementing Classes:
AgentFileActionResult, AgentFileTriggerResult, FileActionResult, FileTrigger.File_Res, FileTrigger.FileTriggerResult

public interface PersistentVariableListener

An optional interface whose methods are invoked during the lifecycle of a persistent variable. If a persistent variable implements this interface, that persistent variable receives event callbacks as that persistent variable moves through its lifecycle.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 void createdVariable()
          Called immediately after a persistent variable has been created and populated with data from the database.
 void persistingVariable()
          Called immediately before a persistent variable is stored to the database.
 

Method Detail

createdVariable

void createdVariable()
                     throws java.lang.Exception
Called immediately after a persistent variable has been created and populated with data from the database. Allows additional initialization work to be performed.

Throws:
java.lang.Exception - If the additional initialization work failed and the engine needs to be notified.

persistingVariable

void persistingVariable()
                        throws java.lang.Exception
Called immediately before a persistent variable is stored to the database. Allows final storage preparation work to be performed.

Throws:
java.lang.Exception - If the final storage preparation work failed and the engine needs to be notified.


© 2014 Flux Corporation. All rights reserved.