directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1075145 - /directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
Date Sun, 27 Feb 2011 20:59:11 GMT
Author: akarasulu
Date: Sun Feb 27 20:59:11 2011
New Revision: 1075145

URL: http://svn.apache.org/viewvc?rev=1075145&view=rev
Log:
removing direct dep on LPC factory and using getPCF instead of newPCF()

Modified:
    directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java

Modified: directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java?rev=1075145&r1=1075144&r2=1075145&view=diff
==============================================================================
--- directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
(original)
+++ directory/apacheds/branches/akarasulu/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
Sun Feb 27 20:59:11 2011
@@ -61,7 +61,6 @@ import org.apache.directory.server.proto
 import org.apache.directory.server.protocol.shared.transport.Transport;
 import org.apache.directory.server.protocol.shared.transport.UdpTransport;
 import org.apache.directory.shared.ldap.codec.api.LdapCodecServiceFactory;
-import org.apache.directory.shared.ldap.codec.protocol.mina.LdapProtocolCodecFactory;
 import org.apache.directory.shared.ldap.extras.controls.SyncDoneValue;
 import org.apache.directory.shared.ldap.extras.controls.SyncInfoValue;
 import org.apache.directory.shared.ldap.extras.controls.SyncRequestValue;
@@ -194,7 +193,7 @@ public class LdapServer extends Director
     private LdapRequestHandler<UnbindRequest> unbindHandler;
 
     /** the underlying provider codec factory */
-    private ProtocolCodecFactory codecFactory = LdapCodecServiceFactory.getSingleton().newProtocolCodecFactory();
+    private ProtocolCodecFactory codecFactory = LdapCodecServiceFactory.getSingleton().getProtocolCodecFactory();
 
     /** the MINA protocol handler */
     private final LdapProtocolHandler handler = new LdapProtocolHandler( this );
@@ -1019,7 +1018,6 @@ public class LdapServer extends Director
     public void setDirectoryService( DirectoryService directoryService )
     {
         super.setDirectoryService( directoryService );
-        this.codecFactory = new LdapProtocolCodecFactory();
     }
 
 



Mime
View raw message