001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036: /*
037: * ESBConstants.java
038: */
039: package com.sun.jbi.jsf.util;
040:
041: /**
042: * ESB Contstants
043: * Declares namespace URIs, elements, and attributes for
044: * Open ESB extensions to JBI Components' jbi.xml
045: *
046: * @author Sun Microsystems Inc.
047: */
048: public final class ESBConstants {
049: /**
050: * <code>defaultValue</code> attribute
051: */
052: public static final String ATTR_DEFAULT_VALUE = "defaultValue";
053: /**
054: * <code>displayDescription</code> attribute
055: */
056: public static final String ATTR_DISPLAY_DESCRIPTION = "displayDescription";
057: /**
058: * <code>displayName</code> attribute
059: */
060: public static final String ATTR_DISPLAY_NAME = "displayName";
061: /**
062: * <code>isApplicationRestartRequired</code> attribute
063: */
064: public static final String ATTR_IS_APP_RESTART_REQUIRED = "isApplicationRestartRequired";
065: /**
066: * <code>isComponentRestartRequired</code> attribute
067: */
068: public static final String ATTR_IS_COMP_RESTART_REQUIRED = "isComponenRestartRequired";
069: /**
070: * <code>encrypted</code> attribute
071: */
072: public static final String ATTR_IS_VALUE_ENCRYPTED = "encrypted";
073: /**
074: * <code>required</code> attribute
075: */
076: public static final String ATTR_IS_VALUE_REQUIRED = "required";
077: /**
078: * <code>isServerRestartRequired</code> attribute
079: */
080: public static final String ATTR_IS_SERVER_RESTART_REQUIRED = "isServerRestartRequired";
081: /**
082: * <code>name</code> attribute
083: */
084: public static final String ATTR_NAME = "name";
085: /**
086: * <code>facet</code> attribute
087: */
088: public static final String ATTR_FACET = "facet";
089: /**
090: * <code>showDisplay</code> attribute
091: */
092: public static final String ATTR_SHOW_DISPLAY = "showDisplay";
093: /**
094: * <code>type</code> attribute
095: */
096: public static final String ATTR_TYPE = "type";
097: /**
098: * <code>value</code> attribute
099: */
100: public static final String ATTR_VALUE = "value";
101: /**
102: * <code>enumeration</code> Constraint facet attribute value
103: */
104: public static final String CONSTRAINT_FACET_ATTR_ENUMERATION = "enumeration";
105: /**
106: * <code>maxInclusive</code> Constraint facet attribute value
107: */
108: public static final String CONSTRAINT_FACET_ATTR_MAX_INCLUSIVE = "maxInclusive";
109: /**
110: * <code>minInclusive</code> Constraint facet attribute value
111: */
112: public static final String CONSTRAINT_FACET_ATTR_MIN_INCLUSIVE = "minInclusive";
113: /**
114: * <code>Configuration</code> element
115: */
116: public static final String ELT_CFG = "Configuration";
117: /**
118: * <code>ApplicationConfiguration</code> element
119: */
120: public static final String ELT_APP_CFG = "ApplicationConfiguration";
121: /**
122: * <code>ApplicationVariable</code> element
123: */
124: public static final String ELT_APP_VAR = "ApplicationVariable";
125: /**
126: * <code>Constraint</code> element
127: */
128: public static final String ELT_CONSTRAINT = "Constraint";
129: /**
130: * <code>Property</code> element
131: */
132: public static final String ELT_PROP = "Property";
133: /**
134: * <code>PropertyGroup</code> element
135: */
136: public static final String ELT_PROP_GROUP = "PropertyGroup";
137: /**
138: * Configuration extension namespace URI <code>http://www.sun.com/jbi/Configuration/V1.0</code>
139: */
140: public static final String NS_CFG = "http://www.sun.com/jbi/Configuration/V1.0";
141: /**
142: * Namespace prefix separator
143: */
144: public static final String NS_PREFIX_SEP = ":";
145: /**
146: * <code>xsd:boolean</code> type
147: */
148: public static final String XSD_TYPE_BOOLEAN = "xsd:boolean";
149: /**
150: * <code>xsd:int</code> type
151: */
152: public static final String XSD_TYPE_INT = "xsd:int";
153: /**
154: * <code>xsd:string</code> type
155: */
156: public static final String XSD_TYPE_STRING = "xsd:string";
157:
158: /**
159: * prevents instantiation
160: */
161: private ESBConstants() {
162: }
163: }
|