directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r654096 - in /directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds: Launcher.java ServerInstance.java
Date Wed, 07 May 2008 13:18:46 GMT
Author: pamarcelot
Date: Wed May  7 06:18:45 2008
New Revision: 654096

URL: http://svn.apache.org/viewvc?rev=654096&view=rev
Log:
Added ASF Header.

Modified:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Launcher.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ServerInstance.java

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Launcher.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Launcher.java?rev=654096&r1=654095&r2=654096&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Launcher.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Launcher.java
Wed May  7 06:18:45 2008
@@ -1,7 +1,25 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
 package org.apache.directory.studio.apacheds;
 
 
-
 import org.apache.directory.daemon.InstallationLayout;
 
 import java.io.File;
@@ -30,7 +48,8 @@
         {
             InstallationLayout layout = new InstallationLayout( args[0] );
             String confFile = layout.getConfigurationFile().toURI().toURL().toString();
-            server.init( layout, new String[] { confFile } );
+            server.init( layout, new String[]
+                { confFile } );
             server.start();
         }
         else if ( args.length > 0 && new File( args[0] ).isFile() )

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ServerInstance.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ServerInstance.java?rev=654096&r1=654095&r2=654096&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ServerInstance.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ServerInstance.java
Wed May  7 06:18:45 2008
@@ -1,7 +1,25 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
 package org.apache.directory.studio.apacheds;
 
 
-
 import java.io.File;
 
 import org.apache.directory.daemon.DaemonApplication;
@@ -70,14 +88,16 @@
         {
             workerThread = new Thread( worker, "SynchWorkerThread" );
         }
-        
+
         if ( LOG.isInfoEnabled() )
         {
             LOG.info( "server: started in {} milliseconds", ( System.currentTimeMillis()
- startTime ) + "" );
         }
     }
 
-    public DirectoryService getDirectoryService() {
+
+    public DirectoryService getDirectoryService()
+    {
         return apacheDS.getDirectoryService();
     }
 
@@ -106,7 +126,7 @@
             {
                 worker.lock.notify();
             }
-    
+
             while ( workerThread.isAlive() )
             {
                 LOG.info( "Waiting for SynchWorkerThread to die." );
@@ -114,7 +134,7 @@
             }
         }
 
-        if (factory != null)
+        if ( factory != null )
         {
             factory.close();
         }
@@ -126,7 +146,6 @@
     {
     }
 
-    
     class SynchWorker implements Runnable
     {
         final Object lock = new Object();



Mime
View raw message