KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > iapi > services > info > ProductGenusNames


1 /*
2
3    Derby - Class org.apache.derby.iapi.services.info.ProductGenusNames
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21
22 package org.apache.derby.iapi.services.info;
23
24 /**
25   Holder class for cloudscape genus names.
26
27   <P>
28   A product genus defines a product's category (tools, DBMS etc). For
29   some categories, Cloudscape ships more than one product. Each product,
30   within the genus has a unique product species.
31
32   <P>
33   A correct run time environment should include at most one Cloudscape
34   product of a given genus. This helps avoid situations in which the
35   environment loads classes from more than one product. a user runs
36   with a mix of classes from different
37
38   <P>
39   Please not that the list provided here serves to document product
40   genus names and to facile consistent naming in code. Because the
41   list of supported Cloudscape genus names will change with time, the
42   code in this package does *NOT* restrict users to the product genus
43   names listed here.
44   */

45 public interface ProductGenusNames
46 {
47
48     /**Genus name for dbms products.*/
49     public static String JavaDoc DBMS = "DBMS";
50     public static String JavaDoc DBMS_INFO = "/org/apache/derby/info/DBMS.properties";
51
52     /**Genus name for tools products.*/
53     public static String JavaDoc TOOLS = "tools";
54     public static String JavaDoc TOOLS_INFO = "/org/apache/derby/info/tools.properties";
55
56     /**Genus name for net products.*/
57     public static String JavaDoc NET = "net";
58     public static String JavaDoc NET_INFO = "/org/apache/derby/info/net.properties";
59
60     /**Genus name for network client */
61     public static String JavaDoc DNC = "dnc";
62     public static String JavaDoc DNC_INFO = "/org/apache/derby/info/dnc.properties";
63
64 }
65
66
67
Popular Tags