/*
 * EventfulLife class.
 *
 * Copyright (C) 2007 SATOH Takayuki All Rights Reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package ts.util.lifetime;

/**
 * 指定されたタイミングで呼び出されるように{@link ts.util.lifetime.Life Life}
 * を拡張したインターフェイス。
 * <br>
 * 指定されたタイミングが来たときに、{@link ts.util.lifetime.Lifetime Lifetime}
 * オブジェクトによって{@link #happens()}メソッドが呼び出される。
 *
 * @author  佐藤隆之.
 * @version $Revision: 1.1.1.1 $, $Date: 2010-10-16 00:03:47 $
 */
public interface EventfulLife extends Life
{
  /**
   * 指定されたタイミングで{@link ts.util.lifetime.Lifetime Lifetime}
   * オブジェクトから呼び出されるメソッド。
   */
  void happens();
}

