summaryrefslogtreecommitdiffstats
path: root/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
diff options
context:
space:
mode:
authordims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
committerdims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
commitbdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch)
tree38a92061c0793434c4be189f1d70c3458b6bc41d /sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java')
-rw-r--r--sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
new file mode 100644
index 0000000000..bbcf154c6a
--- /dev/null
+++ b/sandbox/jboynes/sca-client/src/main/java/org/osoa/sca/CallbackReference.java
@@ -0,0 +1,27 @@
+package org.osoa.sca;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface CallbackReference<CB> {
+ /**
+ * Return a proxy that can be used to invoke the callback instance associated with this reference.
+ *
+ * @return a proxy that can be used to invoke the callback
+ */
+ CB getCallback();
+
+ /**
+ * Returns the conversation associated with this callback.
+ *
+ * @return the conversation associated with this callback
+ */
+ Conversation getConversation();
+
+ /**
+ * Returns the callback ID.
+ *
+ * @return the callback ID
+ */
+ Object getCallbackID();
+}