From 8b445c94a9be057d1a45668a1bf0a282fafab954 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Wed, 18 Oct 2006 18:13:01 +0000 Subject: 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@465322 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/gentools/templ.java/MethodRegistryClass.tmpl | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 qpid/gentools/templ.java/MethodRegistryClass.tmpl (limited to 'qpid/gentools/templ.java/MethodRegistryClass.tmpl') diff --git a/qpid/gentools/templ.java/MethodRegistryClass.tmpl b/qpid/gentools/templ.java/MethodRegistryClass.tmpl new file mode 100644 index 0000000000..d68ea28056 --- /dev/null +++ b/qpid/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} + } +} -- cgit v1.2.1