summaryrefslogtreecommitdiff
path: root/gentools/templ.java/MethodRegistryClass.tmpl
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2006-10-18 18:13:01 +0000
committerKim van der Riet <kpvdr@apache.org>2006-10-18 18:13:01 +0000
commit4bddf9b38cb29b2528a66305ca6acfd5f09067cc (patch)
tree738a5724cf701c632ccda1435536adb1ab5a4700 /gentools/templ.java/MethodRegistryClass.tmpl
parent5810d2bbc60c82feb5dec60b40e9cb14b64bca9c (diff)
downloadqpid-python-4bddf9b38cb29b2528a66305ca6acfd5f09067cc.tar.gz
Initial checkin of code generator (Java only at this stage) which allows for the simultaneous support of multiple AMQP versions. This is a temporary location, for comment and evaluation purposes only. This generator is NOT integrated with the rest of the QPID project; it is intended for stand-alone use only for now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465322 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/templ.java/MethodRegistryClass.tmpl')
-rw-r--r--gentools/templ.java/MethodRegistryClass.tmpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/gentools/templ.java/MethodRegistryClass.tmpl b/gentools/templ.java/MethodRegistryClass.tmpl
new file mode 100644
index 0000000000..d68ea28056
--- /dev/null
+++ b/gentools/templ.java/MethodRegistryClass.tmpl
@@ -0,0 +1,36 @@
+&{MainRegistry.java}
+/*
+ *
+ * Copyright (c) 2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * This file is auto-generated by ${GENERATOR} - do not modify.
+ * Supported AMQP versions:
+%{VLIST} * ${major}-${minor}
+ */
+
+package org.apache.qpid.framing;
+
+import java.util.Map;
+
+class MainRegistry
+{
+ static void register(Map map, byte major, byte minor)
+ {
+%{CLIST} ${reg_map_put_method}
+ }
+}