[jboss-cvs] system2/src/main/org/jboss ...

Scott Stark scott.stark at jboss.com
Fri Jul 14 12:52:21 EDT 2006


  User: starksm 
  Date: 06/07/14 12:52:21

  Modified:    src/main/org/jboss  Main.java
  Log:
  Add an accessor for the booted Server
  
  Revision  Changes    Path
  1.5       +10 -1     system2/src/main/org/jboss/Main.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Main.java
  ===================================================================
  RCS file: /cvsroot/jboss/system2/src/main/org/jboss/Main.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- Main.java	14 Jul 2006 16:37:22 -0000	1.4
  +++ Main.java	14 Jul 2006 16:52:21 -0000	1.5
  @@ -44,7 +44,7 @@
    * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
    * @author <a href="mailto:adrian.brock at happeningtimes.com">Adrian Brock</a>
    * @author Scott.Stark at jboss.org
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class Main
   {
  @@ -90,6 +90,15 @@
      }
   
      /**
  +    * Access the booted server.
  +    * @return the Server instance.
  +    */
  +   public Server getServer()
  +   {
  +      return server;
  +   }
  +
  +   /**
       * Boot up JBoss.
       *
       * @param args   The command line arguments.
  
  
  



More information about the jboss-cvs-commits mailing list