Interface ShutdownResource.Exit
- Enclosing class:
- ShutdownResource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
How the process is stopped.
The default calls System.exit(int). Pass another to ShutdownResource(Exit), or
register one as a bean in its parent resource's bean store, to observe a shutdown without stopping the JVM, for
example in a test.
-
Method Summary
-
Method Details
-
exit
Stops the process.- Parameters:
status- The exit status.
-