1 /* 2 * $Id: ModelLifetime.java,v 1.1 2002/03/24 22:45:05 lhoriman Exp $ 3 * $Source: /cvsroot/mav/maverick/src/java/org/infohazard/maverick/flow/ModelLifetime.java,v $ 4 */ 5 6 package org.infohazard.maverick.flow; 7 8 /** 9 * If a model implements this interface, method(s) will be called so that 10 * the model object can manage internal resources. 11 */ 12 public interface ModelLifetime 13 { 14 /** 15 * Called when Maverick is completely finished with the model. 16 */ 17 public void discard(); 18 }