KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > dods > CommonConstants


1 /*
2  * Created on Jun 5, 2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.enhydra.dods;
8
9 /**
10  * @author Administrator
11  *
12  * To change the template for this generated type comment go to
13  * Window>Preferences>Java>Code Generation>Code and Comments
14  */

15
16 public interface CommonConstants {
17
18     /**
19      * DBTransactionFactory class parameter name
20      *
21      */

22     public static final String JavaDoc TRANSACTION_FACTORY = "TransactionFactory";
23     
24
25     /**
26      * ConnectionAllocator class parameter name
27      *
28      */

29     public static final String JavaDoc CONNECTION_ALLOCATOR = "ConnectionAllocator";
30
31
32     /**
33      * ConnectionFactory class parameter name
34      *
35      */

36     public static final String JavaDoc CONNECTION_FACTORY = "ConnectionFactory";
37     
38     
39     /**
40      * ConnectionFactory class parameter name
41      *
42      */

43     public static final String JavaDoc QUERY_CACAHE_IMPL_CLASS = "QueryCacheImplClass";
44     
45     /**
46      * InitCachesResultSetType parameter name
47      *
48      */

49     public static final String JavaDoc INIT_CACHES_RESULT_SET_TYPE = "InitCachesResultSetType";
50
51     /**
52      * InitCachesResultSetConcurrency parameter name
53      *
54      */

55     public static final String JavaDoc INIT_CACHES_RESULT_SET_CONCURRENCY = "InitCachesResultSetConcurrency";
56
57     /**
58      * SQLBatch parameter name
59      *
60      */

61     public static final String JavaDoc SQL_BATCH = "SQLBatch";
62     
63     /**
64      * Default SQLBatch parameter value
65      *
66      */

67     public static boolean DEFAULT_SQL_BATCH = false;
68
69     
70     public static String JavaDoc CASE_INSENSITIVE_DATABASE = "CaseInsensitiveDatabase";
71     
72     
73     public static boolean DEFAULT_CASE_INSENSITIVE_DATABASE = false;
74
75
76     /**
77      * QueryTimeLimit parameter name
78      *
79      */

80     public static String JavaDoc QUERY_TIME_LIMIT = "QueryTimeLimit";
81     
82     /**
83      * Default QueryTimeLimit parameter value
84      *
85      */

86     public static Integer JavaDoc DEFAULT_QUERY_TIME_LIMIT = null;
87     
88     // XA - parameters
89

90     
91     public static final String JavaDoc XA_DEFAULT_TIMEOUT = "XADefaultTimeout";
92     public static final int DEFAULT_XA_DEFAULT_TIMEOUT = 120;
93
94     public static final String JavaDoc XA_TM_LOOKUP_NAME = "XATransactonManagerLookupName";
95     public static final String JavaDoc DEFAULT_XA_TM_LOOKUP_NAME = "java:comp/UserTransaction";
96
97     public static final String JavaDoc XA_USAGE_CASE = "XAUsageCase";
98     public static final int DEFAULT_XA_USAGE_CASE = 0; // XA_INGORE
99

100     
101     public static final String JavaDoc XA_WRAPPED_TRANS_IMPL_FACTORY = "XAWrappedTransImplFactory";
102     public static final String JavaDoc DEFAULT_XA_WRAPPED_TRANS_IMPL_FACTORY = "com.lutris.appserver.server.sql.standard.StandardDBTransactionFactory"; // TODO - sredi ovo
103

104     public static final String JavaDoc XA_USER_TRANSACTION_LOOKUP_NAME = "XaUserTransactonLookupName";
105     public static final String JavaDoc DEFAULT_XA_USER_TRANSACTION_LOOKUP_NAME = "java:comp/UserTransaction";
106     
107     
108     public static final String JavaDoc XA_JTA_SUPPORT = "JTASupport";
109     public static final String JavaDoc[] XA_JTA_SUPPORT_VALUES = {"MANDATORY","REQUIRED","REQUIRES_NEW","SUPPORTS","NOT_SUPPORTED","NEVER"};
110     public static final int JTA_MANDATORY = 0;
111     public static final int JTA_REQUIRED = 1;
112     public static final int JTA_REQUIRES_NEW = 2;
113     public static final int JTA_SUPPORTS = 3;
114     public static final int JTA_NOT_SUPPORTED = 4;
115     public static final int JTA_NEVER = 5;
116     public static final String JavaDoc DEFAULT_XA_JTA_SUPPORT = "REQUIRED";
117     
118     // XA - parameters -END
119

120     public static final String JavaDoc DODS_CONFIG_FILE_LOOKUP = "dods/dodsConfigFile";
121     public static final String JavaDoc JNDI_ENV = "java:/comp/env";
122     public static final String JavaDoc DODS_CONFIG_FILE_PROPERTY_NAME = "dodsConfigFile";
123     public static final String JavaDoc DEFAULT_CONFIG_FILE_NAME="/dods/conf/databaseManager.conf";
124     
125
126     
127 }
128
Popular Tags