summaryrefslogtreecommitdiff
path: root/trunk/qpid/java/common/MethodDelegate.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/qpid/java/common/MethodDelegate.tpl')
-rw-r--r--trunk/qpid/java/common/MethodDelegate.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/trunk/qpid/java/common/MethodDelegate.tpl b/trunk/qpid/java/common/MethodDelegate.tpl
new file mode 100644
index 0000000000..84fa0e43da
--- /dev/null
+++ b/trunk/qpid/java/common/MethodDelegate.tpl
@@ -0,0 +1,12 @@
+package org.apache.qpid.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")
+}
+}