org.zeroturnaround.exec.listener
Class DestroyerListenerAdapter
java.lang.Object
org.zeroturnaround.exec.listener.ProcessListener
org.zeroturnaround.exec.listener.DestroyerListenerAdapter
public class DestroyerListenerAdapter
- extends ProcessListener
Process event handler that wraps a process destroyer.
- Author:
- Rein Raudjärv
- See Also:
ProcessDestroyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestroyerListenerAdapter
public DestroyerListenerAdapter(ProcessDestroyer destroyer)
afterStart
public void afterStart(Process process,
ProcessExecutor executor)
- Description copied from class:
ProcessListener
- Invoked after a process has started.
- Overrides:
afterStart in class ProcessListener
- Parameters:
process - the process started.executor - executor used for starting the process.
Modifying the ProcessExecutor only affects the following processes
not the one just started.
afterStop
public void afterStop(Process process)
- Description copied from class:
ProcessListener
- Invoked after a process has exited (whether finished or cancelled).
- Overrides:
afterStop in class ProcessListener
- Parameters:
process - process just stopped.
Copyright © 2015 ZeroTurnaround. All rights reserved.