01: package org.columba.api.shutdown;
02:
03: public interface IShutdownManager {
04:
05: /**
06: * Registers a runnable plugin that should be executed on shutdown.
07: */
08: public abstract void register(Runnable plugin);
09:
10: /**
11: * Starts the shutdown procedure.
12: */
13: public abstract void shutdown(final int status);
14:
15: }
|