onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject svn commit: r1454751 - /incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java
Date Sat, 09 Mar 2013 18:17:29 GMT
Author: randgalt
Date: Sat Mar  9 18:17:29 2013
New Revision: 1454751

URL: http://svn.apache.org/r1454751
Log:
DisposeHandler is really just a synonym. Make it explicitly so

Modified:
    incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java

Modified: incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java?rev=1454751&r1=1454750&r2=1454751&view=diff
==============================================================================
--- incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java
(original)
+++ incubator/onami/trunk/lifecycle/standard/main/java/org/apache/onami/lifecycle/standard/DisposeHandler.java
Sat Mar  9 18:17:29 2013
@@ -19,25 +19,12 @@ package org.apache.onami.lifecycle.stand
  * under the License.
  */
 
+import org.apache.onami.lifecycle.core.StageHandler;
+
 /**
- * A {@link org.apache.onami.lifecycle.standard.DisposeHandler} instance is used to track
dispose progresses.
+ * Used to track dispose progresses. It's merely a synonym for
+ * {@link StageHandler}
  */
-public interface DisposeHandler
+public interface DisposeHandler extends StageHandler
 {
-
-    /**
-     * Tracks the input injectee successfully released the resources.
-     *
-     * @param injectee the injectee to be released
-     */
-    <I> void onSuccess( I injectee );
-
-    /**
-     * Tracks an error occurred while the input injectee released the resources.
-     *
-     * @param injectee the injectee to be released
-     * @param error the exception occurred
-     */
-    <I, E extends Throwable> void onError( I injectee, E error );
-
 }
\ No newline at end of file



Mime
View raw message