|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAppFwApplication
Interface for an ApplicationFramework application. Implement this interface to create an ApplicationFramework application. For this application to run you will have to create a BlockModel too. The connection between the application and the BlockModel will be done via annotation on the implementing class:
@AppFwApplicationCategory(model="BlockModel.blm")If the constructor of an implementation fails with an exception, the implementation must make sure that any resource that was allocated in the constructor is closed again. After the instance of the implementation was successfully created, the dispose() method will be called in any case when the application lifecycle ends. The implementation must make sure that the dispose() method properly closes any resource that was allocated.
| Method Summary | |
|---|---|
void |
dispose()
Will be called when the application is about to be disposed, for example if the application is being asked to stop. |
void |
initialize()
Will be called when the task is initialized. |
| Method Detail |
|---|
void initialize()
throws Exception
Exception - Any exception. The application is not forced to catch exceptions if it doesn't want to handle it.
void dispose()
throws Exception
Exception - Any exception. A application is not forced to catch exceptions if it doesn't want to handle it. Take
care however that you properly close any tasks and resources of your application, even if an
exception is thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||