User: user57  
  Date: 02/01/02 20:00:54

  Modified:    jboss.net/src/main/org/jboss/net/axis/server Constants.java
  Log:
   o migrated all components to a new JMX domain name model.  jboss.system
     is now where to core/spine components live.  moved all components that
     were in JBOSS-SYSTEM that did not move into a jboss.* domain into
     jboss (where the server is now registered).  The point was to limit the
     members of jboss.system to core bits only.
   o Created org.jboss.system.Server, which does the work of initialization
     that org.jboss.Main used to do.  Main now only parses the command line,
     sets up basic legecy properties and creates a Server instance.
   o Moved functionality of Shutdown (component not cl tool) into Server (
     which is bound as jboss.system:service=Server)
   o Moved more Runtime access from Info into Server.  Exposed memory info
     as attributes.
   o Logging a WARN everywhere that uses System.getProperty("jboss.system.home")
     as that should go away soon/eventually.
   o Initialized the invokerMap in the harmi impl to avoid NPE
   o Made getopt.jar a member of the lib/* dir instead of adding it to the
     run.jar and shutdown.jars each time.
   o Minor cosmetic changes along the way.
  
  Revision  Changes    Path
  1.4       +48 -49    
contrib/jboss.net/src/main/org/jboss/net/axis/server/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jboss.net/src/main/org/jboss/net/axis/server/Constants.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Constants.java    2001/12/05 11:00:26     1.3
  +++ Constants.java    2002/01/03 04:00:54     1.4
  @@ -1,60 +1,59 @@
   /*
  -* JBoss, the OpenSource J2EE webOS
  -*
  -* Distributable under LGPL license.
  -* See terms of license at gnu.org.
  -*/
  -
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
   
  -// $Id: Constants.java,v 1.3 2001/12/05 11:00:26 cgjung Exp $
  +// $Id: Constants.java,v 1.4 2002/01/03 04:00:54 user57 Exp $
   
   package org.jboss.net.axis.server;
   
   /**
  - * Some Constants for the axis package  
  + * Some Constants for the axis package.
  + *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Christoph G. Jung</a>
    * @created 28. September 2001
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
  -
  -public interface Constants {
  -    
  -    static final String DOMAIN="JBOSS-SYSTEM";
  -    static final String NAME = "Axis";
  -    static final String TYPE="service";
  -    static final String 
SERVER_DELEGATE_NAME="JMImplementation:type=MBeanServerDelegate";
  -    static final String SERVER_ID_ATTRIBUTE="MBeanServerId";
  -    static final String AXIS_DEPLOYMENT_DESCRIPTOR="META-INF/install-axis.xml";
  -    static final String AXIS_DEPLOY_DIR="/_axis_/";
  -    static final String WEB_DEPLOYMENT_DESCRIPTOR="/WEB-INF/web.xml";
  -    static final String DEPLOY_METHOD_NAME="deploy";
  -    static final String UNDEPLOY_METHOD_NAME="undeploy";
  -    static final String STRING_CLASS_NAME="java.lang.String";
  -    static final String DEFAULT_ROOT_CONTEXT="axis";
  -    static final String WSR_FILE_EXTENSION=".wsr";
  -    static final String XML_FILE_EXTENSION=".xml";
  -    static final String AXIS_ENGINE_ATTRIBUTE="AxisEngine";
  -    static final String GET_AXIS_SERVER_METHOD_NAME="getAxisServer";
  -    static final String AXIS_CONFIGURATION_FILE="axis-config.xml";
  -    static final String WEB_SERVICE_DESCRIPTOR="META-INF/web-service.xml";
  +public interface Constants
  +{    
  +    String DOMAIN="jboss";
  +    String NAME = "Axis";
  +    String TYPE="service";
  +    String SERVER_DELEGATE_NAME="JMImplementation:type=MBeanServerDelegate";
  +    String SERVER_ID_ATTRIBUTE="MBeanServerId";
  +    String AXIS_DEPLOYMENT_DESCRIPTOR="META-INF/install-axis.xml";
  +    String AXIS_DEPLOY_DIR="/_axis_/";
  +    String WEB_DEPLOYMENT_DESCRIPTOR="/WEB-INF/web.xml";
  +    String DEPLOY_METHOD_NAME="deploy";
  +    String UNDEPLOY_METHOD_NAME="undeploy";
  +    String STRING_CLASS_NAME="java.lang.String";
  +    String DEFAULT_ROOT_CONTEXT="axis";
  +    String WSR_FILE_EXTENSION=".wsr";
  +    String XML_FILE_EXTENSION=".xml";
  +    String AXIS_ENGINE_ATTRIBUTE="AxisEngine";
  +    String GET_AXIS_SERVER_METHOD_NAME="getAxisServer";
  +    String AXIS_CONFIGURATION_FILE="axis-config.xml";
  +    String WEB_SERVICE_DESCRIPTOR="META-INF/web-service.xml";
       
  -    static final String AXIS_DEPLOYMENT_DESCRIPTOR_NOT_FOUND="The axis deployment 
descriptor is lacking in the service archive!";
  -    static final String ABOUT_TO_DEPLOY_0_UNDER_CONTEXT_1="About to deploy axis web 
application from {0} under context {1}.";
  -    static final String AXIS_ALREADY_STARTED="Axis has already been started.";
  -    static final String ABOUT_TO_UNDEPLOY_0="About to undeploy axis web application 
from {0}.";
  -    static final String COULD_NOT_STOP_AXIS="Could not correctly stop Axis.";
  -    static final String AXIS_ALREADY_STOPPED="Axis has already been stopped.";
  -    static final String SET_WAR_DEPLOYER_0="Seting WarDeployerName to {0}.";
  -    static final String SET_ROOT_CONTEXT_0="Seting RootContext to {0}.";
  -    static final String ABOUT_TO_DEPLOY_AXIS_0="About to deploy axis descriptor 
{0}.";
  -    static final String COULD_NOT_DEPLOY_DESCRIPTOR="Could not deploy axis 
descriptor.";
  -    static final String COULD_NOT_FIND_AXIS_CONFIGURATION_0="Could not find the 
axis configuration file {0}.";
  -    static final String NO_VALID_WEB_SERVICE_DESCRIPTOR="Could not find a valid web 
service descriptor.";
  -    static final String COULD_NOT_DEPLOY="Could not deploy url.";
  -    static final String COULD_NOT_UNDEPLOY="Could not undeploy url.";
  -    static final String COULD_NOT_COPY_URL="Could not download url.";
  -    static final String CANNOT_CHANGE_ROOT_CONTEXT="Cannot change root context 
while service is running. Stop first.";
  -    static final String AXIS_SERVER_CONTEXT_OCCUPIED="There is already an Axis 
service running under that root context.";
  -    static final String EJB_REF_MUST_HAVE_UNIQUE_NAME="An ejb-ref element must have 
a unique ejb-ref-name element.";
  -    static final String EJB_REF_MUST_HAVE_UNIQUE_LINK="An ejb-ref element must have 
a unique ejb-link element.";
  +    String AXIS_DEPLOYMENT_DESCRIPTOR_NOT_FOUND="The axis deployment descriptor is 
lacking in the service archive!";
  +    String ABOUT_TO_DEPLOY_0_UNDER_CONTEXT_1="About to deploy axis web application 
from {0} under context {1}.";
  +    String AXIS_ALREADY_STARTED="Axis has already been started.";
  +    String ABOUT_TO_UNDEPLOY_0="About to undeploy axis web application from {0}.";
  +    String COULD_NOT_STOP_AXIS="Could not correctly stop Axis.";
  +    String AXIS_ALREADY_STOPPED="Axis has already been stopped.";
  +    String SET_WAR_DEPLOYER_0="Seting WarDeployerName to {0}.";
  +    String SET_ROOT_CONTEXT_0="Seting RootContext to {0}.";
  +    String ABOUT_TO_DEPLOY_AXIS_0="About to deploy axis descriptor {0}.";
  +    String COULD_NOT_DEPLOY_DESCRIPTOR="Could not deploy axis descriptor.";
  +    String COULD_NOT_FIND_AXIS_CONFIGURATION_0="Could not find the axis 
configuration file {0}.";
  +    String NO_VALID_WEB_SERVICE_DESCRIPTOR="Could not find a valid web service 
descriptor.";
  +    String COULD_NOT_DEPLOY="Could not deploy url.";
  +    String COULD_NOT_UNDEPLOY="Could not undeploy url.";
  +    String COULD_NOT_COPY_URL="Could not download url.";
  +    String CANNOT_CHANGE_ROOT_CONTEXT="Cannot change root context while service is 
running. Stop first.";
  +    String AXIS_SERVER_CONTEXT_OCCUPIED="There is already an Axis service running 
under that root context.";
  +    String EJB_REF_MUST_HAVE_UNIQUE_NAME="An ejb-ref element must have a unique 
ejb-ref-name element.";
  +    String EJB_REF_MUST_HAVE_UNIQUE_LINK="An ejb-ref element must have a unique 
ejb-link element.";
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to