org.apache.qpid.junit.extensions
Interface ShutdownHookable

All Known Implementing Classes:
CSVTestListener, DurationTestDecorator, ScaledTestDecorator, XMLTestListener

public interface ShutdownHookable

Defines an interface that classes which supply shutdown hooks implement. Code that creates these classes can check if they supply a shutdown hook and register these hooks when the obejct are created.

CRC Card
Responsibilities
Supply a shutdown hook.


Method Summary
 Thread getShutdownHook()
          Supplies the shutdown hook.
 

Method Detail

getShutdownHook

Thread getShutdownHook()
Supplies the shutdown hook.

Returns:
The shut down hook.


Licensed to the Apache Software Foundation