1 /*
2 * JBoss, the OpenSource J2EE webOS
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7
8 // $Id: Constants.java,v 1.12.2.2 2003/04/26 09:05:23 cgjung Exp $
9
10 package org.jboss.net.axis.server;
11
12 /**
13 * Some Constants for the server package
14 * @author <a href="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a>
15 * @since 28. September 2001
16 * @version $Revision: 1.12.2.2 $
17 */
18
19 public interface Constants extends org.jboss.net.Constants {
20
21 /** programmatic constants */
22 static final String DOMAIN = "jboss.net";
23 static final String NAME = "Axis";
24 static final String TYPE = "service";
25 static final String SERVER_DELEGATE_NAME ="JMImplementation:type=MBeanServerDelegate";
26 static final String SERVER_ID_ATTRIBUTE = "MBeanServerId";
27 static final String AXIS_DEPLOYMENT_DESCRIPTOR = "META-INF/install-axis.xml";
28 static final String AXIS_DEPLOY_DIR = "_axis_";
29 static final String WEB_DEPLOYMENT_DESCRIPTOR = "/WEB-INF/web.xml";
30 static final String JBOSS_WEB_DEPLOYMENT_DESCRIPTOR = "/WEB-INF/jboss-web.xml";
31 static final String DEFAULT_ROOT_CONTEXT = "axis";
32 static final String WSR_FILE_EXTENSION = ".wsr";
33 static final String XML_FILE_EXTENSION = ".xml";
34 static final String AXIS_ENGINE_ATTRIBUTE = "AxisEngine";
35 static final String GET_AXIS_SERVER_METHOD_NAME = "getAxisServer";
36 static final String AXIS_CONFIGURATION_FILE = "axis-config.xml";
37 static final String AXIS_CLIENT_CONFIGURATION_FILE = "client-config.xml";
38 static final String WEB_SERVICE_DESCRIPTOR = "META-INF/web-service.xml";
39 static final String USER_TRANSACTION_JNDI_NAME = "UserTransaction";
40
41 /** constants referring to options in the axis messagecontext or handler options */
42 static final String ALLOWED_ROLES_OPTION = "allowedRoles";
43 static final String DENIED_ROLES_OPTION = "deniedRoles";
44 static final String SECURITY_DOMAIN_OPTION = "securityDomain";
45 static final String VALIDATE_UNAUTHENTICATED_CALLS_OPTION = "validateUnauthenticatedCalls";
46 static final String TRANSACTION_PROPERTY = "transaction";
47
48 /** message id constants are english raw messages at the same time */
49 static final String AXIS_DEPLOYMENT_DESCRIPTOR_NOT_FOUND =
50 "The axis deployment descriptor is lacking in the service archive!";
51 static final String ABOUT_TO_DEPLOY_0_UNDER_CONTEXT_1 =
52 "About to deploy axis web application from {0} under context {1}.";
53 static final String AXIS_ALREADY_STARTED = "Axis has already been started.";
54 static final String ABOUT_TO_UNDEPLOY_0 =
55 "About to undeploy axis web application from {0}.";
56 static final String COULD_NOT_STOP_AXIS = "Could not correctly stop Axis.";
57 static final String AXIS_ALREADY_STOPPED = "Axis has already been stopped.";
58 static final String SET_WAR_DEPLOYER_0 = "Seting WarDeployerName to {0}.";
59 static final String SET_ROOT_CONTEXT_0 = "Seting RootContext to {0}.";
60 static final String SET_SECURITY_DOMAIN_TO_0 =
61 "Setting Security Domain to {0}.";
62 static final String ABOUT_TO_CREATE_AXIS_0 =
63 "About to deploy axis descriptor {0}, create step.";
64 static final String ABOUT_TO_START_AXIS_0 =
65 "About to deploy axis descriptor {0}, start step.";
66 static final String ABOUT_TO_STOP_AXIS_0 =
67 "About to undeploy axis descriptor {0}, stop step.";
68 static final String ABOUT_TO_DESTROY_AXIS_0 =
69 "About to undeploy axis descriptor {0}, destroy step.";
70 static final String COULD_NOT_DEPLOY_DESCRIPTOR =
71 "Could not deploy axis descriptor.";
72 static final String COULD_NOT_FIND_AXIS_CONFIGURATION_0 =
73 "Could not find the axis configuration file {0}.";
74 static final String NO_VALID_WEB_SERVICE_DESCRIPTOR =
75 "Could not find a valid web service descriptor.";
76 static final String COULD_NOT_DEPLOY = "Could not deploy url.";
77 static final String COULD_NOT_UNDEPLOY = "Could not undeploy url.";
78 static final String COULD_NOT_COPY_URL = "Could not download url.";
79 static final String CANNOT_CHANGE_ROOT_CONTEXT =
80 "Cannot change root context while service is running. Stop first.";
81 static final String AXIS_SERVER_CONTEXT_OCCUPIED =
82 "There is already an Axis service running under that root context.";
83 static final String EJB_REF_MUST_HAVE_UNIQUE_NAME =
84 "An ejb-ref element must have a unique ejb-ref-name element.";
85 static final String EJB_REF_MUST_HAVE_UNIQUE_LINK =
86 "An ejb-ref element must have a unique ejb-link element.";
87 static final String CANNOT_FIND_WEB_DEPLOYER =
88 "Could not find a suitable web container.";
89 final static String ERR_EXISTING_HEADER =
90 "HttpServletRequest already contains a SOAPAction header.";
91 final static String ERR_MISSING_PARM =
92 "HttpServletRequest does not contain a SOAPAction parameter.";
93
94 /**
95 * property key behind which an action handler can mask its presence in the transport chain
96 * to influence wsdl generation
97 */
98 final static String ACTION_HANDLER_PRESENT_PROPERTY="org.jboss.net.axis.server.ACTION_HANDLER_PRESENT";
99
100 }