directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r936983 - /directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Thu, 22 Apr 2010 17:44:42 GMT
Author: kayyagari
Date: Thu Apr 22 17:44:41 2010
New Revision: 936983

URL: http://svn.apache.org/viewvc?rev=936983&view=rev
Log:
added directory service to the servers which require it

Modified:
    directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java

Modified: directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
URL: http://svn.apache.org/viewvc/directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=936983&r1=936982&r2=936983&view=diff
==============================================================================
--- directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
(original)
+++ directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Thu Apr 22 17:44:41 2010
@@ -252,6 +252,9 @@ public class Service implements DaemonAp
             return;
         }
 
+        getDirectoryService().startup();
+        ntpServer.setDirectoryService( getDirectoryService() );
+        
         System.out.println( "Starting the NTP server" );
         LOG.info( "Starting the NTP server" );
 
@@ -316,6 +319,9 @@ public class Service implements DaemonAp
             .info( "Cannot find any reference to the Kerberos Server in the configuration
: the server won't be started" );
             return;
         }
+        
+        getDirectoryService().startup();
+        kdcServer.setDirectoryService( getDirectoryService() );
 
         System.out.println( "Starting the Kerberos server" );
         LOG.info( "Starting the Kerberos server" );
@@ -348,6 +354,9 @@ public class Service implements DaemonAp
             return;
         }
 
+        getDirectoryService().startup();
+        changePwdServer.setDirectoryService( getDirectoryService() );
+        
         System.out.println( "Starting the Change Password server" );
         LOG.info( "Starting the Change Password server" );
 



Mime
View raw message