View Javadoc

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