KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > net > axis > server > Constants


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.18.4.1 2005/03/02 14:19:50 tdiesler Exp $
9

10 package org.jboss.net.axis.server;
11
12
13 /**
14  * Some Constants for the server package
15  * @author <a HREF="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a>
16  * @since 28. September 2001
17  * @version $Revision: 1.18.4.1 $
18  */

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

100    final static String JavaDoc ACTION_HANDLER_PRESENT_PROPERTY = "org.jboss.net.axis.server.ACTION_HANDLER_PRESENT";
101
102 }
103
Popular Tags