You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2012/10/01 18:00:13 UTC

svn commit: r1392412 - /cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java

Author: sergeyb
Date: Mon Oct  1 16:00:13 2012
New Revision: 1392412

URL: http://svn.apache.org/viewvc?rev=1392412&view=rev
Log:
[CXF-4531] Introducing ContinuationCallback interface marked as the work in progress, adding the actual interface

Added:
    cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java   (with props)

Added: cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java?rev=1392412&view=auto
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java (added)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java Mon Oct  1 16:00:13 2012
@@ -0,0 +1,32 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.continuations;
+
+/**
+ * Callback that receives continuation status updates.
+ * 
+ * Note: this interface is a work in progress
+ */
+public interface ContinuationCallback {
+    
+    void onComplete();
+    
+    void onError(Throwable error);
+}

Propchange: cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date