summaryrefslogtreecommitdiff
path: root/qpid/java/common/MethodDelegate.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/common/MethodDelegate.tpl')
-rw-r--r--qpid/java/common/MethodDelegate.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/java/common/MethodDelegate.tpl b/qpid/java/common/MethodDelegate.tpl
index 84fa0e43da..3ae1a78f2a 100644
--- a/qpid/java/common/MethodDelegate.tpl
+++ b/qpid/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);
+ }""")
}
}