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 | 2e9743ac06fc05609155769bf04f4fa442d848c2 (patch) | |
| tree | 76e110ec10ab5912d50175484e904d624710e735 /qpid/gentools/templ.java/MethodRegistryClass.tmpl | |
| parent | f4d8d42443bbfb942a73c9da32cbdf8fe7ad35e7 (diff) | |
| download | qpid-python-2e9743ac06fc05609155769bf04f4fa442d848c2.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@511389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/gentools/templ.java/MethodRegistryClass.tmpl')
| -rw-r--r-- | qpid/gentools/templ.java/MethodRegistryClass.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/gentools/templ.java/MethodRegistryClass.tmpl b/qpid/gentools/templ.java/MethodRegistryClass.tmpl index 8752be4dc8..99e142aa0d 100644 --- a/qpid/gentools/templ.java/MethodRegistryClass.tmpl +++ b/qpid/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 |
