1/*2 * Copyright 2001-2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * http://www.apache.org/licenses/LICENSE-2.08 * 9 * Unless required by applicable law or agreed to in writing, software10 * distributed under the License is distributed on an "AS IS" BASIS,11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12 * See the License for the specific language governing permissions and13 * limitations under the License.14 */15package org.apache.juddi.config;
1617/**18 * 19 */20publicclassRelease {
2122privatestaticfinal String UDDI_VERSION = "3.0";
23privatestaticfinal String JAR_NAME = "juddi-core";
24privatestatic String registryVersion = null;
2526privateRelease () {
27 }
2829publicstatic String getRegistryVersion() {
30if (registryVersion == null) {
31 registryVersion = org.apache.juddi.v3.client.Release.getVersionFromManifest(JAR_NAME);
32 }
33return registryVersion;
3435 }
3637publicstatic String getUDDIVersion() {
38return UDDI_VERSION;
39 }
404142 }