public class ExitCodeEvent
extends org.springframework.context.ApplicationEvent
ExitCodeGenerator
.Constructor and Description |
---|
ExitCodeEvent(java.lang.Object source,
int exitCode)
Create a new
ExitCodeEvent instance. |
Modifier and Type | Method and Description |
---|---|
int |
getExitCode()
Return the exit code that will be used to exit the JVM.
|
public ExitCodeEvent(java.lang.Object source, int exitCode)
ExitCodeEvent
instance.source
- the source of the eventexitCode
- the exit code