public interface ComponentLifeCycle
ComponentLifeCycle
better control over the component startup and shutdown phases.Modifier and Type | Method and Description |
---|---|
void |
shutdown()
The inverse of the
start() method. |
void |
start()
Implements functionality for starting an instances of this
ComponentLifeCycle object. |
void start()
ComponentLifeCycle
object. This may be
loading files, establish connections, initializing data, starting threads, etc.void shutdown()
start()
method. Contains functionality for deallocation of ressources, clearing
data, closing connections, stopping threads, etcCopyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.