blob: ef209c05eefc0c434cc375ba29c45b7974d530d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.tuscany.runtime.webapp;
/**
* Constants used by the web application booter
*
* @version $Rev$ $Date$
*/
public final class Constants {
/**
* Name of the servlet context-param that should contain the component id for the webapp.
*/
public static final String COMPOSITE_PARAM = "tuscany.composite";
/**
* Name of the servlet context-param that should contain the component id for the webapp.
*/
public static final String COMPONENT_PARAM = "tuscany.component";
/**
* Servlet context-param name for user-specified application SCDL path.
*/
static final String APPLICATION_SCDL_PATH_PARAM = "tuscany.applicationScdlPath";
/**
* Default application SCDL path.
*/
public static final String APPLICATION_SCDL_PATH_DEFAULT = "/WEB-INF/default.scdl";
/**
* Servlet context-param name for setting if the runtime is online.
*/
public static final String ONLINE_PARAM = "tuscany.online";
/**
* Name of the context attribute that contains the ComponentContext.
*/
public static final String CONTEXT_ATTRIBUTE = "tuscany.context";
/**
* Name of the parameter that defines the name of webapp resource containing bootstrap jars.
*/
static final String BOOTDIR_PARAM = "tuscany.bootDir";
/**
* Default value for BOOTDIR_PARAM.
*/
static final String BOOTDIR_DEFAULT = "/WEB-INF/tuscany/boot";
/**
* Name of the parameter that defines the class to load to launch the runtime.
*/
static final String RUNTIME_PARAM = "tuscany.runtimeImpl";
/**
* Name of the default webapp runtime implementation.
*/
static final String RUNTIME_DEFAULT = "org.apache.tuscany.runtime.webapp.WebappRuntimeImpl";
/**
* Servlet context-param name for user-specified system SCDL path.
*/
static final String SYSTEM_SCDL_PATH_PARAM = "tuscany.systemScdlPath";
/**
* Default webapp system SCDL path.
*/
static final String SYSTEM_SCDL_PATH_DEFAULT = "META-INF/tuscany/webapp.scdl";
/**
* Context attribute to which the Tuscany runtime for this servlet context is stored.
*/
static final String RUNTIME_ATTRIBUTE = "tuscany.runtime";
/**
* Servlet context-param name for the path to the composite to set as the webb app composite
*/
static final String CURRENT_COMPOSITE_PATH_PARAM = "tuscany.currentCompositePath";
/**
* Servlet context-param name for user-specified system SCDL path.
*/
static final String EXTENSION_SCDL_PATH_PARAM = "tuscany.extensionScdlPath";
/**
* Default path for extensions if no "extensionScdlPath param is specified
*/
static final String DEFAULT_EXTENSION_PATH_PARAM = "/WEB-INF/tuscany/extensions";
/**
* Servlet context-param name for system monitoring level. Supported values are the names of statics defined in
* java.util.logging.Level. If absent, no monitoring will take place.
*/
static final String SYSTEM_MONITORING_PARAM = "tuscany.monitoringLevel";
private Constants() {
}
}
|