|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILifecycleAware
This interface should be implemented by node components and agent elements to notify their container of lifecycle awareness. If implemented, the initialisation and activation phases are ensured via the core lifecycle handler.
| Method Summary | |
|---|---|
void |
cleanup()
This method is invoked once immediately before the current instance is disposed. |
void |
initialise()
This method is invoked after the current instance is fully configured. |
void |
start()
Start routines like thread or schedulable activation should be done in this method. |
void |
stop()
Implementations should ensure that all threads and schedulables of the current instance are stopped when this method returns. |
| Method Detail |
|---|
void initialise()
If the current instance is also a handle provider, the handle must be available after this method completes!
void start()
void stop()
void cleanup()
initialise() is released!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||