|
org.openide.util 6.8.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.LifecycleManager
public abstract class LifecycleManager
Manages major aspects of the NetBeans lifecycle - currently saving all objects and exiting.
| Constructor Summary | |
|---|---|
protected |
LifecycleManager()
Subclass constructor. |
| Method Summary | |
|---|---|
abstract void |
exit()
Exit NetBeans. |
static LifecycleManager |
getDefault()
Get the default lifecycle manager. |
abstract void |
saveAll()
Save all opened objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected LifecycleManager()
| Method Detail |
|---|
public static LifecycleManager getDefault()
Lookup.getDefault() but if no instance is
found there, a fallback instance is returned which behaves as follows:
saveAll() does nothing
exit() calls System.exit(int) with an exit code of 0
public abstract void saveAll()
public abstract void exit()
System.exit(int) fails, or if at least one component of the
system refuses to exit (because it cannot be properly shut down).
|
org.openide.util 6.8.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||