001 package com.hammurapi.config.bootstrap;
002
003
004 /**
005 * Something which holds resources and shall be explicitly destroyed to release resources.
006 * @author Pavel Vlasov
007 *
008 */
009 public interface Destroyable {
010
011 /**
012 * Terminates element operations, releases resources used by the component.
013 */
014 void destroy() throws ConfigurationException;
015
016 }