com.microsoft.tfs.util.shutdown
Interface ShutdownEventListener

All Superinterfaces:
java.util.EventListener

public interface ShutdownEventListener
extends java.util.EventListener

ShutdownEventListeners are registered with the ShutdownManager and invoked when parts or all of core is being shut down (as part of a manual operation or during process exit).

onShutdown() may be invoked multiple times during an object's lifetime (see method notes below), and may be invoked by any running thread.

Since:
TEE-SDK-10.1
Thread-safety:
thread-safe

Method Summary
 void onShutdown()
           Signals the listener that the JVM is shutting down.
 

Method Detail

onShutdown

void onShutdown()

Signals the listener that the JVM is shutting down. May be invoked multiple times during a listener's lifetime if the method implementation does not remove the listener from the shutdown manager.

This method may be invoked by any running thread, so the implementer must perform its own data synchronization.



© 2015 Microsoft. All rights reserved.