Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / derby-10.3.2.1 / java / engine / org / apache / derby / iapi / services / info / ProductGenusNames.java
diff --git a/JMCR-Stable/real-world application/derby-10.3.2.1/java/engine/org/apache/derby/iapi/services/info/ProductGenusNames.java b/JMCR-Stable/real-world application/derby-10.3.2.1/java/engine/org/apache/derby/iapi/services/info/ProductGenusNames.java
new file mode 100644 (file)
index 0000000..963c32c
--- /dev/null
@@ -0,0 +1,65 @@
+/*\r
+\r
+   Derby - Class org.apache.derby.iapi.services.info.ProductGenusNames\r
+\r
+   Licensed to the Apache Software Foundation (ASF) under one or more\r
+   contributor license agreements.  See the NOTICE file distributed with\r
+   this work for additional information regarding copyright ownership.\r
+   The ASF licenses this file to you under the Apache License, Version 2.0\r
+   (the "License"); you may not use this file except in compliance with\r
+   the License.  You may obtain a copy of the License at\r
+\r
+      http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+\r
+ */\r
+\r
+package org.apache.derby.iapi.services.info;\r
+\r
+/**\r
+  Holder class for Derby genus names.\r
+\r
+  <P>\r
+  A product genus defines a product's category (tools, DBMS etc). \r
+  Currently, Derby only ships one jar file per genus. The info file\r
+  defined in this file is used by sysinfo to determine version information.\r
+\r
+  <P>\r
+  A correct run time environment should include at most one Derby\r
+  jar file of a given genus. This helps avoid situations in which the\r
+  environment loads classes from more than one version. \r
+\r
+  <P>\r
+  Please note that the list provided here serves to document product\r
+  genus names and to facilitate consistent naming in code. Because the\r
+  list of supported Derby genus names may change with time, the\r
+  code in this package does *NOT* restrict users to the product genus\r
+  names listed here.\r
+  */\r
+public interface ProductGenusNames\r
+{\r
+\r
+       /**Genus name for dbms products.*/\r
+       public static String DBMS = "DBMS";\r
+       public static String DBMS_INFO = "/org/apache/derby/info/DBMS.properties";\r
+\r
+       /**Genus name for tools products.*/\r
+       public static String TOOLS = "tools";\r
+       public static String TOOLS_INFO = "/org/apache/derby/info/tools.properties";\r
+\r
+       /**Genus name for net products.*/\r
+       public static String NET = "net";\r
+       public static String NET_INFO = "/org/apache/derby/info/net.properties";\r
+\r
+       /**Genus name for network client */\r
+       public static String DNC = "dnc";\r
+       public static String DNC_INFO = "/org/apache/derby/info/dnc.properties";\r
+\r
+}\r
+\r
+\r