|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShutdownHook
A shutdown hook can be used to veto the shutdown sequence of the IDE and perform necessary deregistration (for example, closing sockets) when the IDE is terminating.
A shutdown hook is registered with ExitCommand.addShutdownHook(ShutdownHook).
| Method Summary | |
|---|---|
boolean |
canShutdown()Called on shutdown hooks in the order they were registered prior to shutting down the IDE. |
void |
shutdown()Called on all shutdown hooks in the order they were registered when the IDE is terminating. |
| Method Detail |
|---|
boolean canShutdown()
void shutdown()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||