summaryrefslogtreecommitdiff
path: root/java/common/MethodDelegate.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'java/common/MethodDelegate.tpl')
-rw-r--r--java/common/MethodDelegate.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/common/MethodDelegate.tpl b/java/common/MethodDelegate.tpl
index 84fa0e43da..3ae1a78f2a 100644
--- a/java/common/MethodDelegate.tpl
+++ b/java/common/MethodDelegate.tpl
@@ -2,11 +2,15 @@ package org.apache.qpid.transport;
public abstract class MethodDelegate<C> {
+ public abstract void handle(C context, Method method);
${
from genutil import *
for c in composites:
name = cname(c)
- out(" public void $(dromedary(name))(C context, $name struct) {}\n")
+ out("""
+ public void $(dromedary(name))(C context, $name method) {
+ handle(context, method);
+ }""")
}
}