KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > ws7 > serverresources > wizards > WS70WizardConstants


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 /*
21  * WS70WizardConstants.java
22  */

23
24 package org.netbeans.modules.j2ee.sun.ws7.serverresources.wizards;
25
26 import java.util.ResourceBundle JavaDoc;
27 import org.openide.util.NbBundle;
28
29 /**
30  *
31  * Code reused from Appserver common API module
32  */

33 public interface WS70WizardConstants {
34
35     //common
36
public static final String JavaDoc __General = "general";
37     public static final String JavaDoc __Properties = "properties";
38     public static final String JavaDoc __PropertiesURL = "propertiesUrl";
39
40
41     //jdbc-resource
42
//Contains __Enabled, __Description
43
public static final String JavaDoc __Name = "name";
44     public static final String JavaDoc __DatasourceClassname = "datasource-class";
45     public static final String JavaDoc __MinConnections = "min-connections";
46     public static final String JavaDoc __MaxConnections = "max-connections";
47     public static final String JavaDoc __IdleTimeout = "idle-timeout";
48     public static final String JavaDoc __WaitTimeout = "wait-timeout";
49     public static final String JavaDoc __IsolationLevel = "isolation-level";
50     public static final String JavaDoc __IsolationLevelGuaranteed = "isolation-level-guaranteed";
51     public static final String JavaDoc __ConnectionValidation = "connection-validation";
52     public static final String JavaDoc __ConnectionValidationTableName = "connection-validation-table-name";
53     public static final String JavaDoc __FailAllConnections = "fail-all-connections";
54     public static final String JavaDoc __DatabaseVendor = "database-vendor";
55     public static final String JavaDoc __DatabaseName = "databaseName";
56     public static final String JavaDoc __Url = "URL";
57     public static final String JavaDoc __User = "User";
58     public static final String JavaDoc __Password = "Password";
59     public static final String JavaDoc __NotApplicable = "NA";
60     
61     public static final String JavaDoc __JdbcResource = "jdbc-resource";
62     
63     
64     // common to resources
65
public static final String JavaDoc __JndiName = "jndi-name";
66     public static final String JavaDoc __Enabled = "enabled";
67     public static final String JavaDoc __Description = "description";
68     public static final String JavaDoc __ResType = "res-type";
69     public static final String JavaDoc __FactoryClass = "factory-class";
70     
71     
72     //mail-resource
73
//Contains __JndiName and __Enabled and __Description also
74
public static final String JavaDoc __StoreProtocol = "store-protocol";
75     public static final String JavaDoc __StoreProtocolClass = "store-protocol-class";
76     public static final String JavaDoc __TransportProtocol = "transport-protocol";
77     public static final String JavaDoc __TransportProtocolClass = "transport-protocol-class";
78     public static final String JavaDoc __Host = "host";
79     public static final String JavaDoc __MailUser = "user";
80     public static final String JavaDoc __From = "from";
81     public static final String JavaDoc __MailResource = "mail-resource";
82     
83     //custom-resource
84
//Contains __JndiName, __ResType, __FactoryClass, and __Enabled and __Description
85
public static final String JavaDoc __CustomResource = "custom-resource";
86     //external-jndi-resource
87
//Contains __JndiName, _ResType, __FactoryClass, and __Enabled and __Description
88
public static final String JavaDoc __ExternalJndiResource = "external-jndi-resource";
89     public static final String JavaDoc __ExternalJndiName = "external-jndi-name";
90     
91     
92     //Default Names for the resources
93

94     public static final String JavaDoc __JDBCResource = "jdbc";
95     //public static final String __JMSResource = "jms";
96
public static final String JavaDoc __MAILResource = "mail";
97     public static final String JavaDoc __EXTERNALResource = "external";
98     public static final String JavaDoc __CUSTOMResource = "custom";
99
100     
101     public static final String JavaDoc __SunResourceExt = "sun-ws7-resource";
102     
103     //First Step - temporary workaround
104
public static final String JavaDoc __FirstStepChoose = "Choose ...";
105     //Resource Folder
106
public static final String JavaDoc __SunResourceFolder = "setup";
107        
108 }
109
Popular Tags