summaryrefslogtreecommitdiff
path: root/java/common/Invoker.tpl
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-07-09 13:26:54 +0000
committerRafael H. Schloming <rhs@apache.org>2008-07-09 13:26:54 +0000
commitfa6532edf09b45201f90beaeef62702b00d35947 (patch)
tree1063db9bc554758657d6d45da2107c856ae0d804 /java/common/Invoker.tpl
parent6cddd1d794278e7e68163e88851f09553dd5123f (diff)
downloadqpid-python-fa6532edf09b45201f90beaeef62702b00d35947.tar.gz
Primarily profiling driven changes:
- added batched writes of commands/controls issued on a session - copy fragmented frames and segments rather than trying to decode them piecemeal, removed FragmentDecoder - added caching for str8 encode/decode - compute sizes as we encode by going back and filling in the amount of bytes written rather than computing it up front - added SYNC option to commands - renamed NO_OPTION argument to NONE - added a timeout to Client.java - removed use of UUID.fromString in BasicMessageProducer_0_10.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/Invoker.tpl')
-rw-r--r--java/common/Invoker.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/common/Invoker.tpl b/java/common/Invoker.tpl
index d9905c71a0..4e174619f0 100644
--- a/java/common/Invoker.tpl
+++ b/java/common/Invoker.tpl
@@ -15,8 +15,8 @@ from genutil import *
for c in composites:
name = cname(c)
fields = get_fields(c)
- params = get_parameters(fields)
- args = get_arguments(fields)
+ params = get_parameters(c, fields)
+ args = get_arguments(c, fields)
result = c["result"]
if result:
if not result["@type"]:
@@ -32,7 +32,7 @@ for c in composites:
jclass = ""
out("""
- public $jresult $(dromedary(name))($(", ".join(params))) {
+ public final $jresult $(dromedary(name))($(", ".join(params))) {
$(jreturn)invoke(new $name($(", ".join(args)))$jclass);
}
""")