directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373116 - in /directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon: Bootstrapper.java MainBootstrapper.java ProcrunBootstrapper.java
Date Sat, 28 Jan 2006 10:11:11 GMT
Author: akarasulu
Date: Sat Jan 28 02:11:03 2006
New Revision: 373116

URL: http://svn.apache.org/viewcvs?rev=373116&view=rev
Log:
start method with string[] args not needed

Modified:
    directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java
    directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/MainBootstrapper.java
    directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/ProcrunBootstrapper.java

Modified: directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java?rev=373116&r1=373115&r2=373116&view=diff
==============================================================================
--- directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java
(original)
+++ directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java
Sat Jan 28 02:11:03 2006
@@ -312,19 +312,6 @@
     }
 
 
-    public void start( String[] args )
-    {
-        log.debug( "start(String[]) called" );
-        Thread.currentThread().setContextClassLoader( this.parent );
-        
-        if ( layout == null && args.length > 0 )
-        {
-            setInstallationLayout( args[0] );
-            setParentLoader( Thread.currentThread().getContextClassLoader() );
-        }
-    }
-
-    
     public void stop() throws Exception
     {
         log.debug( "stop() called" );

Modified: directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/MainBootstrapper.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/MainBootstrapper.java?rev=373116&r1=373115&r2=373116&view=diff
==============================================================================
--- directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/MainBootstrapper.java
(original)
+++ directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/MainBootstrapper.java
Sat Jan 28 02:11:03 2006
@@ -76,8 +76,8 @@
                 log.debug( "calling init(String[]) from main(String[])" );
                 instance.init( args );
 
-                log.debug( "calling start(String[]) from main(String[])" );
-                instance.start( args );
+                log.debug( "calling start() from main(String[])" );
+                instance.start();
             }
             else if ( command.equalsIgnoreCase( "stop" ) )
             {

Modified: directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/ProcrunBootstrapper.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/ProcrunBootstrapper.java?rev=373116&r1=373115&r2=373116&view=diff
==============================================================================
--- directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/ProcrunBootstrapper.java
(original)
+++ directory/trunks/apacheds/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/ProcrunBootstrapper.java
Sat Jan 28 02:11:03 2006
@@ -61,8 +61,8 @@
             log.debug( "prunsrvStart(String[]) calling init(String[])" );
             instance.init( args );
 
-            log.debug( "prunsrvStart(String[]) calling start(String[])" );
-            instance.start( args );
+            log.debug( "prunsrvStart(String[]) calling start()" );
+            instance.start();
         }
         catch ( Throwable t )
         {



Mime
View raw message