View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.util.timer;
8   
9   import java.util.EventListener;
10  
11  /**
12   * <code>TimeEventListener</code> provides a method to pass timer events to
13   * implementing objects.
14   */
15  public interface TimeEventListener extends EventListener
16  {
17      /**
18       * Passes the TimeEvent to an object
19       * 
20       * @param e the time event that occurred
21       */
22      void timeExpired(TimeEvent e);
23  }