Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAA6CD4EF for ; Mon, 1 Oct 2012 16:00:57 +0000 (UTC) Received: (qmail 83136 invoked by uid 500); 1 Oct 2012 16:00:57 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 83080 invoked by uid 500); 1 Oct 2012 16:00:57 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 83071 invoked by uid 99); 1 Oct 2012 16:00:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 16:00:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 16:00:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9D31A2388A4A; Mon, 1 Oct 2012 16:00:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1392412 - /cxf/trunk/api/src/main/java/org/apache/cxf/continuations/ContinuationCallback.java Date: Mon, 01 Oct 2012 16:00:13 -0000 To: commits@cxf.apache.org From: sergeyb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121001160013.9D31A2388A4A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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