KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > pentaho > core > solution > IActionCompleteListener


1 /*
2  * Copyright 2006 Pentaho Corporation. All rights reserved.
3  * This software was developed by Pentaho Corporation and is provided under the terms
4  * of the Mozilla Public License, Version 1.1, or any later version. You may not use
5  * this file except in compliance with the license. If you need a copy of the license,
6  * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
7  * BI Platform. The Initial Developer is Pentaho Corporation.
8  *
9  * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11  * the license for the specific language governing your rights and limitations.
12  *
13  * @created Jun 17, 2005
14  * @author James Dixon
15  *
16  */

17
18 package org.pentaho.core.solution;
19
20 import org.pentaho.core.runtime.IRuntimeContext;
21
22 /**
23  * The listener interface for receiving notification when a Component execution
24  * has completed.
25  * <p>
26  * At the moment, all Component executions are synchronous, so the notification
27  * is sent as when the execution has truly completed. In the near future, when
28  * asynchronous executions are implemented, notification may be sent as soon as
29  * the execution has launched the asynchronous thread and has returned (in the
30  * case of an asynchronous execution).
31  */

32 public interface IActionCompleteListener {
33
34     /**
35      * Invoked when a Component execution has completed
36      *
37      * @param runtime
38      * the runtime context associated with this action
39      */

40     public void actionComplete(IRuntimeContext runtime);
41
42 }
43
Popular Tags