directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r951658 - /directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java
Date Sat, 05 Jun 2010 06:07:25 GMT
Author: felixk
Date: Sat Jun  5 06:07:25 2010
New Revision: 951658

URL: http://svn.apache.org/viewvc?rev=951658&view=rev
Log:
- Implements the LdapServerFactory
- Clean up

Modified:
    directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java

Modified: directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java?rev=951658&r1=951657&r2=951658&view=diff
==============================================================================
--- directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java
(original)
+++ directory/apacheds/trunk/server-annotations/src/main/java/org/apache/directory/server/factory/DefaultLdapServerFactory.java
Sat Jun  5 06:07:25 2010
@@ -28,7 +28,7 @@ import org.apache.directory.server.ldap.
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class DefaultLdapServerFactory
+public class DefaultLdapServerFactory implements LdapServerFactory
 {
     private LdapServer ldapServer;
     
@@ -40,16 +40,12 @@ public class DefaultLdapServerFactory
     {
     }
 
-    void init()
+    public void init()
     {
-        if ( ( ldapServer != null ) && ( ldapServer.isStarted() ) )
-        {
-            return;
-        }
     }
 
     
-    LdapServer getLdapServer()
+    public LdapServer getLdapServer()
     {
         return ldapServer;
     }



Mime
View raw message