diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2007-02-25 01:08:57 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2007-02-25 01:08:57 +0000 |
| commit | 2ea003c24ab3170dec118af6f9f8c128241cec65 (patch) | |
| tree | 5d062e29ec7eceeda453c1402117978c211a2db8 /gentools/templ.java/MethodRegistryClass.tmpl | |
| parent | b9f9c16645933e0e2f4c6c9b58e8cd1716434467 (diff) | |
| download | qpid-python-2ea003c24ab3170dec118af6f9f8c128241cec65.tar.gz | |
QPID-391 : Broker Refactoring - initial tidy... add some mechanisms for multi version
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@511389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/templ.java/MethodRegistryClass.tmpl')
| -rw-r--r-- | gentools/templ.java/MethodRegistryClass.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gentools/templ.java/MethodRegistryClass.tmpl b/gentools/templ.java/MethodRegistryClass.tmpl index 8752be4dc8..99e142aa0d 100644 --- a/gentools/templ.java/MethodRegistryClass.tmpl +++ b/gentools/templ.java/MethodRegistryClass.tmpl @@ -69,6 +69,11 @@ public class MainRegistry } + + public static VersionSpecificRegistry getVersionSpecificRegistry(ProtocolVersion pv) + { + return getVersionSpecificRegistry(pv.getMajorVersion(), pv.getMinorVersion()); + } public static VersionSpecificRegistry getVersionSpecificRegistry(byte major, byte minor) { try |
