summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-09-24 17:19:06 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-09-24 17:19:06 +0000
commit92f10a4ab5364e3c03b096dc9b3906b78f061694 (patch)
tree6d9bf460fd329fa0fee52d4541dfe3e26a06edb7 /sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java
parentb1a5b1501efb63c25cd4f04f0ec93d78335c0121 (diff)
Add an itest for various async interaction patterns with binding.jms
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java b/sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java
new file mode 100644
index 0000000000..18cd13e671
--- /dev/null
+++ b/sca-java-2.x/trunk/itest/async-interactions/src/main/java/test/client/CreditCardPaymentCallback.java
@@ -0,0 +1,29 @@
+/*
+ * 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 test.client;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+/**
+ * The callback interface
+ */
+@Remotable
+public interface CreditCardPaymentCallback {
+ void authorizeResponse(String creditCardNumber, String status);
+}