|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleManager
Defines the interface for the start up and shutdown of a LimeWire instance.
| Method Summary | |
|---|---|
void |
addListener(EventListener<LifeCycleEvent> listener)
|
long |
getStartFinishedTime()
Gets the time this finished starting. |
void |
installListeners()
Phase 1 of the startup process -- wires listeners together. |
boolean |
isLoaded()
|
boolean |
isShutdown()
|
boolean |
isStarted()
|
void |
loadBackgroundTasks()
Phase 2 of the startup process -- loads any tasks that can be run in the background. |
boolean |
removeListener(EventListener<LifeCycleEvent> listener)
|
void |
shutdown()
Shuts down anything that requires shutdown. |
void |
shutdown(String toExecute)
Shuts down & executes something after shutdown completes. |
void |
start()
The core of the startup process, initializes all classes. |
| Method Detail |
|---|
boolean isLoaded()
boolean isStarted()
boolean isShutdown()
void installListeners()
void loadBackgroundTasks()
void start()
void shutdown()
void shutdown(String toExecute)
long getStartFinishedTime()
void addListener(EventListener<LifeCycleEvent> listener)
boolean removeListener(EventListener<LifeCycleEvent> listener)
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||