directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55885 - in incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi: . ibs
Date Thu, 28 Oct 2004 19:05:55 GMT
Author: akarasulu
Date: Thu Oct 28 12:05:54 2004
New Revision: 55885

Added:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterService.java
      - copied, changed from rev 55884, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringService.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterServiceImpl.java
      - copied, changed from rev 55884, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringServiceImpl.java
Removed:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringService.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringServiceImpl.java
Modified:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveContextFactory.java
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
Log:
renaming ResultFilteringService and its impl to use FilterService base instead

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveContextFactory.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveContextFactory.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveContextFactory.java
Thu Oct 28 12:05:54 2004
@@ -218,9 +218,9 @@
             InvocationStateEnum.POSTINVOCATION
         };
         Interceptor interceptor;
-        ResultFilteringService resultFilteringService =
-                new ResultFilteringServiceImpl();
-        interceptor = ( Interceptor ) resultFilteringService;
+        FilterService filterService =
+                new FilterServiceImpl();
+        interceptor = ( Interceptor ) filterService;
         provider.addInterceptor( interceptor, state );
 
         /*
@@ -254,7 +254,7 @@
             InvocationStateEnum.POSTINVOCATION
         };
         interceptor = new OperationalAttributeService( root, globalRegistries,
-                resultFilteringService );
+                filterService );
         provider.addInterceptor( interceptor, state );
 
     }

Copied: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterService.java
(from rev 55884, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringService.java)
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringService.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterService.java
Thu Oct 28 12:05:54 2004
@@ -34,7 +34,7 @@
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public interface ResultFilteringService
+public interface FilterService
 {
     /**
      * Adds a new lookup filter to the end of the list of filters be applied to

Copied: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterServiceImpl.java
(from rev 55884, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringServiceImpl.java)
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/ResultFilteringServiceImpl.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/FilterServiceImpl.java
Thu Oct 28 12:05:54 2004
@@ -56,8 +56,8 @@
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class ResultFilteringServiceImpl extends BaseInterceptor
-        implements ResultFilteringService
+public class FilterServiceImpl extends BaseInterceptor
+        implements FilterService
 {
     /** the set of registered result filters for search */
     private final List resultFilters = new ArrayList();
@@ -71,7 +71,7 @@
 
 
     /**
-     * @see ResultFilteringService#addLookupFilter(LookupFilter)
+     * @see FilterService#addLookupFilter(LookupFilter)
      */
     public boolean addLookupFilter( LookupFilter filter )
     {
@@ -80,7 +80,7 @@
 
 
     /**
-     * @see ResultFilteringService#addSearchResultFilter(SearchResultFilter)
+     * @see FilterService#addSearchResultFilter(SearchResultFilter)
      */
     public boolean addSearchResultFilter( SearchResultFilter filter )
     {
@@ -152,7 +152,7 @@
                 public boolean accept( DbSearchResult result, SearchControls controls )
                         throws NamingException
                 {
-                    return ResultFilteringServiceImpl.this.accept( result, controls );
+                    return FilterServiceImpl.this.accept( result, controls );
                 }
             } );
             invocation.setReturnValue( retval );

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
Thu Oct 28 12:05:54 2004
@@ -76,7 +76,7 @@
     /** the root nexus of the system */
     private final RootNexus nexus;
     /** a service used to filter search and lookup operations */
-    private ResultFilteringService filteringService;
+    private FilterService filteringService;
     /** the global schema object registries */
     private final GlobalRegistries globalRegistries;
 
@@ -89,7 +89,7 @@
      */
     public OperationalAttributeService( RootNexus nexus,
                                         GlobalRegistries globalRegistries,
-                                        ResultFilteringService filteringService )
+                                        FilterService filteringService )
     {
         this.nexus = nexus;
         if ( this.nexus == null )

Mime
View raw message