|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleManager
Triggers lifecycle events on LifecycleAware components.
Implementation note: Invoking the start() method on startup and restore satisfies the two
of the lifecycle requirements outlined on the LifecycleAware javadoc. The third (starting components that are
enabled sometime after the host application starts up) is typically achieved by listening for OSGi bind events.
See DefaultLifecycleManager#onBind() in sal-core for an example.
| Method Summary | |
|---|---|
boolean |
isApplicationSetUp()
|
void |
start()
Triggers LifecycleAware.onStart() on all enabled LifecycleAware components. |
| Method Detail |
|---|
void start()
LifecycleAware.onStart() on all enabled LifecycleAware components. This method can be
called multiple times but will only start components once and only once the plugin framework has started.
boolean isApplicationSetUp()
true if application is set up and ready to run, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||