User: chirino 
  Date: 02/01/25 09:40:14

  Modified:    src/main/org/jboss Tag: Branch_2_4 Main.java
  Log:
  Added a systemExit() method so that Alexandria (an NT service java wrapper) can 
shutdown a jboss correctly.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.35.2.18 +12 -1     jboss/src/main/org/jboss/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Main.java,v
  retrieving revision 1.35.2.17
  retrieving revision 1.35.2.18
  diff -u -r1.35.2.17 -r1.35.2.18
  --- Main.java 2001/11/29 10:02:12     1.35.2.17
  +++ Main.java 2002/01/25 17:40:14     1.35.2.18
  @@ -27,7 +27,7 @@
    *   @author Rickard Öberg ([EMAIL PROTECTED])
    *   @author <a href="mailto:[EMAIL PROTECTED]";>Daniel O'Connor</a>.
    *   @author [EMAIL PROTECTED]
  - *   @version $Revision: 1.35.2.17 $
  + *   @version $Revision: 1.35.2.18 $
    */
   public class Main
   {
  @@ -263,4 +263,15 @@
            return super.getURLs();
         }
      }
  +
  +   /**
  +    * This method is here so that if JBoss is running under
  +    * Alexandria (An NT Service Installer), Alexandria can shutdown 
  +    * the system down correctly.
  +    */
  +   public static void systemExit(String argv[]) 
  +   {
  +      System.exit(0);
  +   }
  +   
   }
  
  
  

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

Reply via email to