| Package | Description |
|---|---|
| org.zeroturnaround.exec | |
| org.zeroturnaround.exec.listener |
| Modifier and Type | Method and Description |
|---|---|
ProcessExecutor |
ProcessExecutor.addDestroyer(ProcessDestroyer destroyer)
Adds a process destroyer to be notified when the process starts and stops.
|
ProcessExecutor |
ProcessExecutor.destroyer(ProcessDestroyer destroyer)
Sets the process destroyer to be notified when the process starts and stops.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShutdownHookProcessDestroyer
Destroys all registered
Processes when the VM exits. |
| Modifier and Type | Field and Description |
|---|---|
static ProcessDestroyer |
ShutdownHookProcessDestroyer.INSTANCE
Singleton instance of the
ShutdownHookProcessDestroyer. |
| Constructor and Description |
|---|
DestroyerListenerAdapter(ProcessDestroyer destroyer) |
Copyright © 2020 ZeroTurnaround. All rights reserved.