Package org.esa.snap.rcp
Class SnapApp.MaybeStopOp
- java.lang.Object
-
- org.esa.snap.rcp.SnapApp.MaybeStopOp
-
- All Implemented Interfaces:
Callable
- Enclosing class:
- SnapApp
public static class SnapApp.MaybeStopOp extends Object implements Callable
This non-API class is public as an implementation detail. Don't use it, it may be removed anytime.NetBeans
@OnStop
: Annotation that can be applied toRunnable
orCallable<Boolean>
subclasses with default constructor which will be invoked during shutdown sequence or when the module is being shutdown.First of all call
Callable
s are consulted to allow or deny proceeding with the shutdown.If the shutdown is approved, all
Runnable
s registered are acknowledged and can perform the shutdown cleanup. TheRunnable
s are invoked in parallel. It is guaranteed their execution is finished before the shutdown sequence is over.
-
-
Constructor Summary
Constructors Constructor Description MaybeStopOp()
-