summaryrefslogtreecommitdiff
path: root/java/common/MethodDelegate.tpl
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-04-16 13:32:13 +0000
committerRafael H. Schloming <rhs@apache.org>2008-04-16 13:32:13 +0000
commitd054b41aaa1466b65c9dc2acf1b22ca98ec3128c (patch)
tree08055eba3020d3dcad5c9a9587d98b15d0b97c89 /java/common/MethodDelegate.tpl
parentf375be1908ad22329fe9ed21a8c196475ade7e59 (diff)
downloadqpid-python-d054b41aaa1466b65c9dc2acf1b22ca98ec3128c.tar.gz
QPID-901: updates to the java client to use the 0-10 final spec instead of the 0-10 preview spec; this includes improvements to the codegen process as well as some modifications to the shared code path in the client to not lose per message state when consumers are closed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/MethodDelegate.tpl')
-rw-r--r--java/common/MethodDelegate.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/common/MethodDelegate.tpl b/java/common/MethodDelegate.tpl
new file mode 100644
index 0000000000..e5ab1ae1e7
--- /dev/null
+++ b/java/common/MethodDelegate.tpl
@@ -0,0 +1,12 @@
+package org.apache.qpidity.transport;
+
+public abstract class MethodDelegate<C> {
+
+${
+from genutil import *
+
+for c in composites:
+ name = cname(c)
+ out(" public void $(dromedary(name))(C context, $name struct) {}\n")
+}
+}