net.openwings.container
Interface ProcessShutdown
- public interface ProcessShutdown
This interface describes a callback that can be registered by a
process (an Openwings Component or other Java program) with its
container via the ContainerAccess interface.
This callback gives the container the ability
request the process to shutdown. A process can register multiple
ProcessShutdown callbacks.
- See Also:
ContainerAccess
|
Method Summary |
void |
shutdown()
This method is called by the container to request a process
to shutdown. |
shutdown
public void shutdown()
- This method is called by the container to request a process
to shutdown. The process should shutdown as quickly as possible
by causing all of its non-daemon threads to exit.