View Javadoc

1   package org.eclipse.jetty.util.component;
2   
3   
4   
5   /**
6    * <p>A Destroyable is an object which can be destroyed.</p>
7    * <p>Typically a Destroyable is a {@link LifeCycle} component that can hold onto
8    * resources over multiple start/stop cycles.   A call to destroy will release all
9    * resources and will prevent any further start/stop cycles from being successful.</p>
10   */
11  public interface Destroyable
12  {
13      void destroy();
14  }