directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1065816 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java
Date Mon, 31 Jan 2011 21:56:59 GMT
Author: elecharny
Date: Mon Jan 31 21:56:58 2011
New Revision: 1065816

URL: http://svn.apache.org/viewvc?rev=1065816&view=rev
Log:
Added the PSearchFactory

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java?rev=1065816&r1=1065815&r2=1065816&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/DefaultLdapCodecService.java
Mon Jan 31 21:56:58 2011
@@ -32,6 +32,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.codec.controls.ManageDsaITFactory;
 import org.apache.directory.shared.ldap.codec.search.controls.entryChange.EntryChangeFactory;
 import org.apache.directory.shared.ldap.codec.search.controls.pagedSearch.PagedResultsFactory;
+import org.apache.directory.shared.ldap.codec.search.controls.persistentSearch.PersistentSearchFactory;
 import org.apache.directory.shared.ldap.codec.search.controls.subentries.SubentriesFactory;
 import org.apache.directory.shared.ldap.model.message.Control;
 import org.apache.directory.shared.ldap.model.message.controls.BasicControl;
@@ -39,6 +40,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.model.message.controls.EntryChange;
 import org.apache.directory.shared.ldap.model.message.controls.ManageDsaIT;
 import org.apache.directory.shared.ldap.model.message.controls.PagedResults;
+import org.apache.directory.shared.ldap.model.message.controls.PersistentSearch;
 import org.apache.directory.shared.ldap.model.message.controls.Subentries;
 import org.apache.mina.filter.codec.ProtocolCodecFactory;
 
@@ -67,20 +69,23 @@ public class DefaultLdapCodecService imp
      */
     private void loadStockControls()
     {
-        SubentriesFactory subentriesFactory = new SubentriesFactory( this );
-        controlFactories.put( Subentries.OID, subentriesFactory );
-
         CascadeFactory cascadeFactory = new CascadeFactory( this );
         controlFactories.put( Cascade.OID, cascadeFactory );
         
-        ManageDsaITFactory manageDsaITFactory = new ManageDsaITFactory( this );
-        controlFactories.put( ManageDsaIT.OID, manageDsaITFactory );
-        
         EntryChangeFactory entryChangeFactory = new EntryChangeFactory( this );
         controlFactories.put( EntryChange.OID, entryChangeFactory );
         
+        ManageDsaITFactory manageDsaITFactory = new ManageDsaITFactory( this );
+        controlFactories.put( ManageDsaIT.OID, manageDsaITFactory );
+        
         PagedResultsFactory pagedResultsFactory = new PagedResultsFactory( this );
         controlFactories.put( PagedResults.OID, pagedResultsFactory );
+        
+        PersistentSearchFactory persistentSearchFactory = new PersistentSearchFactory( this
);
+        controlFactories.put( PersistentSearch.OID, persistentSearchFactory );
+
+        SubentriesFactory subentriesFactory = new SubentriesFactory( this );
+        controlFactories.put( Subentries.OID, subentriesFactory );
     }
     
 



Mime
View raw message