001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019:
020: package org.apache.axis2.deployment;
021:
022: import org.apache.axis2.Constants;
023:
024: /**
025: * Constants used during service/module deployment.
026: */
027: public interface DeploymentConstants {
028: public static String META_INF = "META-INF";
029: public static String SERVICES_XML = "META-INF/services.xml";
030: public static String MODULE_XML = "META-INF/module.xml";
031: public static String SERVICE_PATH = "services";
032: public static String SERVICE_DIR_PATH = "ServicesDirectory";
033: public static String MODULE_PATH = "modules";
034: public static String MODULE_DRI_PATH = "ModulesDirectory";
035:
036: String TAG_AXISCONFIG = "axisconfig";
037: String TAG_PHASE_ORDER = "phaseOrder";
038: String TAG_PHASE = "phase";
039: String TAG_PARAMETER = "parameter";
040: String TAG_MAPPING = "mapping";
041: String TAG_PACKAGE_NAME = "packageName";
042: String TAG_QNAME = "qName";
043: String TAG_PACKAGE2QNAME = "packageMapping";
044: String TAG_MODULE = "module";
045: String TAG_MODULE_CONFIG = "moduleConfig";
046: String TAG_MESSAGE = "message";
047: String TAG_LISTENER = "listener";
048: String TAG_LABEL = "label";
049: String TAG_HANDLER = "handler";
050: String TAG_TYPE = "type";
051: String TAG_TARGET_RESOLVERS = "targetResolvers";
052: String TAG_TARGET_RESOLVER = "targetResolver";
053: String TAG_TRANSPORT_SENDER = "transportSender";
054: String TAG_TRANSPORT_RECEIVER = "transportReceiver";
055: String TAG_SERVICE_GROUP = "serviceGroup";
056: String TAG_SERVICE = "service";
057: String TAG_REFERENCE = "ref";
058: String TAG_PHASE_LAST = "phaseLast";
059: String TAG_PHASE_FIRST = "phaseFirst";
060: String TAG_ORDER = "order"; // to resolve the order tag
061: String TAG_OPERATION = "operation"; // operation start tag
062: String TAG_OBJECT_SUPPLIER = "ObjectSupplier"; // operation start tag
063: String TAG_EXCLUDE_OPERATIONS = "excludeOperations";
064: String TAG_MESSAGE_RECEIVER = "messageReceiver";
065: String TAG_MESSAGE_RECEIVERS = "messageReceivers";
066: String TAG_TRANSPORTS = "transports";
067: String TAG_TRANSPORT = "transport";
068: String TAG_MEP = "mep";
069: String TAG_DEFAULT_MODULE_VERSION = "defaultModuleVersions";
070: String TAG_CLUSTER = "cluster";
071: String TAG_MESSAGE_BUILDERS = "messageBuilders"; //used to add pluggable support for diffrent wire formats
072: String TAG_MESSAGE_BUILDER = "messageBuilder";
073: String TAG_CONTENT_TYPE = "contentType";
074: String TAG_MESSAGE_FORMATTERS = "messageFormatters"; //used to add pluggable support for diffrent wire formats
075: String TAG_MESSAGE_FORMATTER = "messageFormatter";
076:
077: String TAG_FLOW_IN = "InFlow"; // inflow start tag
078: String TAG_FLOW_OUT = "OutFlow"; // outflow start tag
079: String TAG_FLOW_OUT_FAULT = "OutFaultFlow"; // faultflow start tag
080: String TAG_FLOW_IN_FAULT = "InFaultFlow"; // faultflow start tag
081:
082: String TAG_HOT_UPDATE = "hotupdate";
083: String TAG_ANTI_JAR_LOCKING = "antiJARLocking";
084: String TAG_HOT_DEPLOYMENT = "hotdeployment";
085: String TAG_EXPOSE = "expose";
086: String TAG_EXTRACT_SERVICE_ARCHIVE = "extractServiceArchive";
087: String TAG_DISPATCH_ORDER = "dispatchOrder";
088: String TAG_DISPATCHER = "dispatcher";
089: String TAG_DESCRIPTION = "Description";
090: String TAG_CLASS_NAME = "class";
091: String TAG_AFTER = "after";
092: String TAG_BEFORE = "before";
093: String TAG_SUPPORTED_POLICY_NAMESPACES = "supported-policy-namespaces";
094: String TAG_NAMESPACES = "namespaces";
095:
096: //ClusterBuilder
097: String TAG_CONFIGURATION_MANAGER = "configurationManager";
098: String TAG_CONTEXT_MANAGER = "contextManager";
099: String TAG_REPLICATION = "replication";
100: String TAG_DEFAULTS = "defaults";
101: String TAG_CONTEXT = "context";
102: String TAG_EXCLUDE = "exclude";
103: String ATTRIBUTE_CLASS = "class";
104:
105: //Deployer related cons
106: String DIRECTORY = "directory";
107: String EXTENSION = "extension";
108: String DEPLOYER = "deployer";
109:
110: // for parameters
111: String ATTRIBUTE_NAME = "name";
112: String ATTRIBUTE_WSADDRESSING = "wsaddressing";
113: String TARGET_NAME_SPACE = "targetNamespace";
114: String SCHEMA_NAME_SPACE = "schemaNamespace";
115: String SCHEMA_ELEMENT_QUALIFIED = "elementFormDefaultQualified";
116: String SCHEMA = "schema";
117: String MAPPING = "mapping";
118: String ATTRIBUTE_NAMESPACE = "namespace";
119: String ATTRIBUTE_PACKAGE = "package";
120:
121: String ATTRIBUTE_DEFAULT_VERSION = "version";
122: String ATTRIBUTE_SCOPE = "scope";
123: String ATTRIBUTE_LOCKED = "locked";
124:
125: // Whether to activate a deployed service.
126: String ATTRIBUTE_ACTIVATE = "activate";
127:
128: String PROPERTY_TEMP_DIR = "java.io.tmpdir";
129: String DIRECTORY_CONF = "conf";
130: String DIRECTORY_AXIS2_HOME = ".axis2";
131: String RESOURCE_MODULES = "modules/";
132: String SUFFIX_MAR = ".mar";
133: String SUFFIX_JAR = ".jar";
134: String SUFFIX_WSDL = ".wsdl";
135: /**
136: * Resource that contains the configuration.
137: */
138: String AXIS2_CONFIGURATION_RESOURCE = "org/apache/axis2/deployment/axis2_default.xml";
139: String AXIS2_REPO = "repository";
140: String AXIS2_CONFIGURATION_XML = "axis2.xml";
141: String BOOLEAN_TRUE = "true";
142: String BOOLEAN_FALSE = "false";
143: char SEPARATOR_DOT = '.';
144: char SEPARATOR_COLON = ':';
145:
146: String POLICY_NS_URI = Constants.URI_POLICY;
147: String TAG_POLICY = "Policy";
148: String TAG_POLICY_REF = "PolicyReference";
149:
150: }
|