public static class SnapApp.MaybeStopOp extends Object implements Callable
NetBeans @OnStop: Annotation that can be applied to Runnable or Callable<Boolean>
subclasses with default constructor which will be invoked during shutdown sequence or when the
module is being shutdown.
First of all call Callables are consulted to allow or deny proceeding with the shutdown.
If the shutdown is approved, all Runnables registered are acknowledged and can perform the shutdown
cleanup. The Runnables are invoked in parallel. It is guaranteed their execution is finished before
the shutdown sequence is over.
| Constructor and Description |
|---|
MaybeStopOp() |
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.