directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r692961 - /directory/installers/trunk/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Sun, 07 Sep 2008 23:16:40 GMT
Author: akarasulu
Date: Sun Sep  7 16:16:39 2008
New Revision: 692961

URL: http://svn.apache.org/viewvc?rev=692961&view=rev
Log:
fix issues due to LdapService to LdapServer name change

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=692961&r1=692960&r2=692961&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
Sun Sep  7 16:16:39 2008
@@ -27,7 +27,7 @@
 import org.apache.directory.server.configuration.ApacheDS;
 import org.apache.directory.server.core.DefaultDirectoryService;
 import org.apache.directory.server.core.DirectoryService;
-import org.apache.directory.server.ldap.LdapServer;
+import org.apache.directory.server.ldap.LdapService;
 import org.apache.directory.server.protocol.shared.SocketAcceptor;
 import org.apache.xbean.spring.context.FileSystemXmlApplicationContext;
 import org.slf4j.Logger;
@@ -66,16 +66,16 @@
             DirectoryService directoryService = new DefaultDirectoryService();
             directoryService.startup();
             SocketAcceptor socketAcceptor = new SocketAcceptor( null );
-            LdapServer ldapServer = new LdapServer();
-            ldapServer.setSocketAcceptor( socketAcceptor );
-            ldapServer.setDirectoryService( directoryService );
-            ldapServer.start();
-            LdapServer ldapsServer = new LdapServer();
+            LdapService ldapService = new LdapService();
+            ldapService.setSocketAcceptor( socketAcceptor );
+            ldapService.setDirectoryService( directoryService );
+            ldapService.start();
+            LdapService ldapsServer = new LdapService();
             ldapsServer.setEnableLdaps( true );
             ldapsServer.setSocketAcceptor( socketAcceptor );
             ldapsServer.setDirectoryService( directoryService );
             ldapsServer.start();
-            apacheDS = new ApacheDS( directoryService, ldapServer, ldapsServer );
+            apacheDS = new ApacheDS( directoryService, ldapService, ldapsServer );
         }
 
         if ( install != null )



Mime
View raw message