org.formaria.aria
Interface LifeCycleListener

All Known Implementing Classes:
DatabaseLifecycleListener

public interface LifeCycleListener

An interface that allows applications to add to the startup and shutdown functionality.

Copyright (c) Formaria Ltd., 2008

License: see License.txt


Method Summary
 boolean canClose(Project project)
          Can the current project close?
 void initialize(Project project)
          Called when the application/applet has been created and initialized.
 void shutdown()
          Called when the application/applet has been shutdown and is about to exit
 

Method Detail

initialize

void initialize(Project project)
Called when the application/applet has been created and initialized.

Parameters:
project - the owner project

shutdown

void shutdown()
Called when the application/applet has been shutdown and is about to exit


canClose

boolean canClose(Project project)
Can the current project close?

Parameters:
project - the project initiating the shutdown
Returns:
true if the application can close