KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > sunresources > beans > WizardConstants


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * WizardConstants.java
21 *
22  * Created on October 15, 2002, 12:24 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.sunresources.beans;
26
27 /**
28  *
29  * @author shirleyc
30  */

31 public interface WizardConstants {
32
33     //common
34
public static final String JavaDoc __General = "general";
35     public static final String JavaDoc __Properties = "properties";
36     public static final String JavaDoc __PropertiesURL = "propertiesUrl";
37 ////// public static final String __RegisterResource = "register-resource";
38

39     //jdbc-connection-pool
40
public static final String JavaDoc __Name = "name";
41     public static final String JavaDoc __DatasourceClassname = "datasource-classname";
42     public static final String JavaDoc __XADatasourceClassname = "datasource-classname-xa";
43     public static final String JavaDoc __ResType = "res-type";
44     public static final String JavaDoc __SteadyPoolSize = "steady-pool-size";
45     public static final String JavaDoc __MaxPoolSize = "max-pool-size";
46     public static final String JavaDoc __MaxWaitTimeInMillis = "max-wait-time-in-millis";
47     public static final String JavaDoc __PoolResizeQuantity = "pool-resize-quantity";
48     public static final String JavaDoc __IdleTimeoutInSeconds = "idle-timeout-in-seconds";
49     public static final String JavaDoc __TransactionIsolationLevel = "transaction-isolation-level";
50     public static final String JavaDoc __IsIsolationLevelGuaranteed = "is-isolation-level-guaranteed";
51     public static final String JavaDoc __IsConnectionValidationRequired = "is-connection-validation-required";
52     public static final String JavaDoc __ConnectionValidationMethod = "connection-validation-method";
53     public static final String JavaDoc __ValidationTableName = "validation-table-name";
54     public static final String JavaDoc __FailAllConnections = "fail-all-connections";
55     public static final String JavaDoc __Description = "description";
56     public static final String JavaDoc __NonTransactionalConnections = "non-transactional-connections";
57     public static final String JavaDoc __AllowNonComponentCallers = "allow-non-component-callers";
58     public static final String JavaDoc __JdbcConnectionPool = "jdbc-connection-pool";
59         
60     public static final String JavaDoc __DatabaseVendor = "database-vendor";
61     public static final String JavaDoc __DatabaseName = "databaseName";
62     public static final String JavaDoc __Url = "URL";
63     public static final String JavaDoc __User = "User";
64     public static final String JavaDoc __Password = "Password";
65     public static final String JavaDoc __NotApplicable = "NA";
66     public static final String JavaDoc __IsXA = "isXA";
67     public static final String JavaDoc __IsCPExisting = "is-cp-existing";
68     
69
70     
71     //CommonAttributesPanel
72
static final String JavaDoc[] COMMON_ATTR_INTEGER = {"Steady Pool Size:", "Max Pool Size:", "Max Wait time:", "Pool Resize Quantity:", "Idle Timeout (secs):" }; //NOI18N
73

74     //jdbc-resource
75
//Contains __Description
76
public static final String JavaDoc __JndiName = "jndi-name";
77     public static final String JavaDoc __PoolName = "pool-name";
78     public static final String JavaDoc __JdbcObjectType = "object-type";
79     public static final String JavaDoc __Enabled = "enabled";
80     public static final String JavaDoc __JdbcResource = "jdbc-resource";
81     
82     
83
84     //persistence-manager-factory
85
//Contains __BeanjndiName and __BeanisEnabled and __Description
86
public static final String JavaDoc __FactoryClass = "factory-class";
87     public static final String JavaDoc __JdbcResourceJndiName = "jdbc-resource-jndi-name";
88     public static final String JavaDoc __PersistenceManagerFactoryResource = "persistence-manager-factory-resource";
89     
90
91     
92     
93     //mail-resource
94
//Contains __JndiName and __Enabled and __Description
95
public static final String JavaDoc __StoreProtocol = "store-protocol";
96     public static final String JavaDoc __StoreProtocolClass = "store-protocol-class";
97     public static final String JavaDoc __TransportProtocol = "transport-protocol";
98     public static final String JavaDoc __TransportProtocolClass = "transport-protocol-class";
99     public static final String JavaDoc __Host = "host";
100     public static final String JavaDoc __MailUser = "user";
101     public static final String JavaDoc __From = "from";
102     public static final String JavaDoc __Debug = "debug";
103     public static final String JavaDoc __MailResource = "mail-resource";
104     
105     
106     //jms-resource
107
//Contains __JndiName, __ResType, __Enabled, __Properties, __Description
108
public static final String JavaDoc __JmsResource = "jms-resource";
109     public static final String JavaDoc __Properties2 = "properties2";
110     public static final String JavaDoc __AdminObjPropertyName = "Name";
111     
112     //jms-resource Bean
113
//Contains __BeanjndiName and __BeanisEnabled and __Description
114
//// public static final String __JMSResType = "resType";
115

116     public static final String JavaDoc __JavaMessageJndiName = "jndi_name";
117     public static final String JavaDoc __JavaMessageResType = "res-type";
118     public static final String JavaDoc __AdminObjResAdapterName = "res-adapter";
119     public static final String JavaDoc __ConnectorPoolResAdName = "resource-adapter-name";
120     public static final String JavaDoc __ConnectorPoolConnDefName = "connection-definition-name";
121     
122     //Default Names for the resources
123
public static final String JavaDoc __ConnectionPoolResource = "connectionPool";
124     public static final String JavaDoc __JDBCResource = "jdbc/myDatasource";
125     public static final String JavaDoc __JMSResource = "jms/myQueue";
126     public static final String JavaDoc __ADMINOBJResource = "jms/myQueue";
127     public static final String JavaDoc __CONNECTORResource = "jms/myConnector";
128     public static final String JavaDoc __MAILResource = "mail/mySession";
129     public static final String JavaDoc __PersistenceResource = "persistence";
130     public static final String JavaDoc __DynamicWizPanel = "dynamicPanel"; //to identify ds & cp created dynamically
131
public static final String JavaDoc __SunResourceExt = "sun-resource";
132     
133     //First Step - temporary workaround
134
public static final String JavaDoc __FirstStepChoose = "Choose";
135     //Resource Folder
136
public static final String JavaDoc __SunResourceFolder = "setup";
137     
138     //Operations for getting resourceproperties
139
public static final String JavaDoc __GetJdbcResource = "getJdbcResource";
140     public static final String JavaDoc __GetJdbcConnectionPool = "getJdbcConnectionPool";
141     public static final String JavaDoc __GetMailResource = "getMailResource";
142     public static final String JavaDoc __GetJmsResource = "getJmsResource";
143     public static final String JavaDoc __GetAdmObjResource = "getAdminObjectResource";
144     public static final String JavaDoc __GetConnectorResource = "getConnectorResource";
145     public static final String JavaDoc __GetConnPoolResource = "getConnectorConnectionPool";
146     public static final String JavaDoc __GetPMFResource = "getPersistenceManagerFactoryResource";
147     public static final String JavaDoc __GetJdbcResourceByName = "getJdbcResourceByJndiName";
148     public static final String JavaDoc __GetJdbcConnectionPoolByName = "getJdbcConnectionPoolByName";
149     public static final String JavaDoc __GetProperties = "getProperties";
150     public static final String JavaDoc __SetProperty = "setProperty";
151     public static final String JavaDoc MAP_RESOURCES = "com.sun.appserv:type=resources,category=config";//NOI18N
152

153     public static final String JavaDoc __DerbyDatabaseName = "DatabaseName";
154     public static final String JavaDoc __DerbyPortNumber = "PortNumber";
155     public static final String JavaDoc __ServerName = "serverName";
156     public static final String JavaDoc __DerbyConnAttr = "connectionAttributes";
157     
158     public static final String JavaDoc __PortNumber = "portNumber";
159     public static final String JavaDoc __SID = "SID";
160     
161     public static final String JavaDoc[] VendorsExtraProps = {"sun_db2", "sun_oracle", "sun_msftsql",
162         "sun_sybase", "db2", "microsoft_sql", "post-gre-sql", "mysql", "datadirect_sql",
163         "datadirect_db2", "datadirect_informix", "datadirect_sybase", "datadirect_oracle",
164         "jtds_sql", "jtds_sybase", "informix", "sybase2"};
165     
166     
167     public static final String JavaDoc[] VendorsDBNameProp = {"sun_db2", "sun_oracle", "sun_msftsql",
168         "db2", "post-gre-sql", "mysql", "datadirect_sql",
169         "datadirect_db2", "datadirect_informix", "datadirect_sybase", "datadirect_oracle",
170         "jtds_sql", "jtds_sybase", "informix"};
171     
172     
173     public static final String JavaDoc[] Reqd_DBName = {"sun_db2", "sun_msftsql", "datadirect_sql",
174         "datadirect_db2", "datadirect_informix", "datadirect_sybase"};
175     
176     //Suffixes to create Resource File Names (for Zero Config)
177
public static final String JavaDoc __ConnPoolSuffix = "Pool";
178     
179     public static final String JavaDoc __DriverClassName = "driverClassName";
180     
181     public static final String JavaDoc __QUEUE = "javax.jms.Queue"; // NOI18N
182
public static final String JavaDoc __TOPIC = "javax.jms.Topic"; // NOI18N
183

184     public static final String JavaDoc __QUEUE_CNTN_FACTORY = "javax.jms.QueueConnectionFactory"; // NOI18N
185
public static final String JavaDoc __TOPIC_CNTN_FACTORY = "javax.jms.TopicConnectionFactory"; // NOI18N
186
public static final String JavaDoc __CNTN_FACTORY = "javax.jms.ConnectionFactory"; // NOI18N
187

188     public static final String JavaDoc __JmsResAdapter = "jmsra";
189     //Create Resource Operations
190
public static final String JavaDoc __CreateCP = "createJdbcConnectionPool";
191     public static final String JavaDoc __CreateDS = "createJdbcResource";
192     public static final String JavaDoc __CreatePMF = "createPersistenceManagerFactoryResource";
193     public static final String JavaDoc __CreateMail = "createMailResource";
194     public static final String JavaDoc __CreateAdmObj = "createAdminObjectResource";
195     public static final String JavaDoc __CreateConnector = "createConnectorResource";
196     public static final String JavaDoc __CreateConnPool = "createConnectorConnectionPool";
197 }
198
Popular Tags