directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1074790 - /directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Date Sat, 26 Feb 2011 04:02:47 GMT
Author: akarasulu
Date: Sat Feb 26 04:02:47 2011
New Revision: 1074790

URL: http://svn.apache.org/viewvc?rev=1074790&view=rev
Log:
early initialization of the codec is best considering some of the operations occuring before
the initialize method is called

Modified:
    directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java

Modified: directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=1074790&r1=1074789&r2=1074790&view=diff
==============================================================================
--- directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/apacheds/branches/akarasulu/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Sat Feb 26 04:02:47 2011
@@ -126,7 +126,7 @@ public class DefaultDirectoryService imp
     private SchemaManager schemaManager;
     
     /** The LDAP Codec Service */
-    private LdapCodecService ldapCodecService;
+    private LdapCodecService ldapCodecService = LdapCodecServiceFactory.getSingleton();
 
     /** the root nexus */
     private DefaultPartitionNexus partitionNexus;
@@ -1484,8 +1484,6 @@ public class DefaultDirectoryService imp
         triggerExecutionAPCache = new DnNode<TriggerExecutionAdministrativePoint>();
 
         dnFactory = new DefaultDnFactory( schemaManager, cacheService.getCache( "dnCache"
) );
-
-        ldapCodecService = LdapCodecServiceFactory.getSingleton();
         
         // triggers partition to load schema fully from schema partition
         schemaService.initialize();



Mime
View raw message