ShutdownAttribute
Description
- Derived from
-
Attribute abstract
The Shutdown is used to define the global shutdown sequence.
The global shutdown releases all resources, ends all background threads and reverts the runtime state. The Shutdown identifies the methods (always public and static) that must be called (in arbitrary order) in order to perform a global shutdown:
-
The application calls all shutdown methods, in arbitrary order.
-
All ShutdownClear fields are cleared to their default value.
-
All static ShutdownSurvive instances are reset to their initial state.
After global shutdown, the public API is in the same state as after startup and may be used again.