directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r758008 - in /directory/apacheds/branches/ldif-partition: ./ core-interceptor/ core-interceptor/src/ core-interceptor/src/main/ core-interceptor/src/main/java/ core-interceptor/src/test/ core-interceptor/src/test/java/ core-service/src/main...
Date Tue, 24 Mar 2009 20:39:24 GMT
Author: akarasulu
Date: Tue Mar 24 20:39:23 2009
New Revision: 758008

URL: http://svn.apache.org/viewvc?rev=758008&view=rev
Log:
creating new module for interceptor classses

Added:
    directory/apacheds/branches/ldif-partition/core-interceptor/   (with props)
    directory/apacheds/branches/ldif-partition/core-interceptor/pom.xml
    directory/apacheds/branches/ldif-partition/core-interceptor/src/
    directory/apacheds/branches/ldif-partition/core-interceptor/src/main/
    directory/apacheds/branches/ldif-partition/core-interceptor/src/main/java/
    directory/apacheds/branches/ldif-partition/core-interceptor/src/test/
    directory/apacheds/branches/ldif-partition/core-interceptor/src/test/java/
    directory/apacheds/branches/ldif-partition/core-service/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
      - copied, changed from r757324, directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
Removed:
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
Modified:
    directory/apacheds/branches/ldif-partition/core/pom.xml
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/CoreSession.java
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultCoreSession.java
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/ChangeOperationContext.java
    directory/apacheds/branches/ldif-partition/core/src/test/java/org/apache/directory/server/core/authz/support/MaxImmSubFilterTest.java
    directory/apacheds/branches/ldif-partition/pom.xml

Propchange: directory/apacheds/branches/ldif-partition/core-interceptor/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Mar 24 20:39:23 2009
@@ -0,0 +1,17 @@
+target
+.clover
+.wtpmodules
+.settings
+.deployables
+apache.org
+.metadata
+*.md5
+*.log
+*.iml
+*.ipr
+*.iws
+.project
+.classpath
+nbproject
+schema
+

Added: directory/apacheds/branches/ldif-partition/core-interceptor/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-interceptor/pom.xml?rev=758008&view=auto
==============================================================================
--- directory/apacheds/branches/ldif-partition/core-interceptor/pom.xml (added)
+++ directory/apacheds/branches/ldif-partition/core-interceptor/pom.xml Tue Mar 24 20:39:23
2009
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.directory.server</groupId>
+    <artifactId>apacheds-parent</artifactId>
+    <version>1.5.5-SNAPSHOT</version>
+  </parent>
+  <artifactId>apacheds-core-interceptor</artifactId>
+  <name>ApacheDS Core Interceptor</name>
+  <packaging>jar</packaging>
+
+  <description>
+    Contains Interceptor interface for creating interceptors.
+  </description>
+
+  <dependencies>
+    <!--
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
+      <artifactId>xxxxxxxx</artifactId>
+      <version>${pom.version}</version>
+    </dependency>
+    -->
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+

Copied: directory/apacheds/branches/ldif-partition/core-service/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
(from r757324, directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core-service/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java?p2=directory/apacheds/branches/ldif-partition/core-service/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java&p1=directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java&r1=757324&r2=758008&rev=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
(original)
+++ directory/apacheds/branches/ldif-partition/core-service/src/main/java/org/apache/directory/server/core/impl/DefaultDirectoryService.java
Tue Mar 24 20:39:23 2009
@@ -187,13 +187,6 @@
             "all taken into account";
 
     
-    /** A structure telling the changeLog what to do with the incoming change */
-    public enum LogChange
-    {
-        TRUE,  // The change must me stored 
-        FALSE  // The change must not be stred
-    };
-   
     // ------------------------------------------------------------------------
     // Constructor
     // ------------------------------------------------------------------------

Modified: directory/apacheds/branches/ldif-partition/core/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/pom.xml?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/pom.xml (original)
+++ directory/apacheds/branches/ldif-partition/core/pom.xml Tue Mar 24 20:39:23 2009
@@ -69,6 +69,12 @@
 
     <dependency>
       <groupId>org.apache.directory.server</groupId>
+      <artifactId>apacheds-core-interceptor</artifactId>
+      <version>${pom.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
       <artifactId>apacheds-core-avl</artifactId>
       <version>${pom.version}</version>
     </dependency>

Modified: directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/CoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/CoreSession.java?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/CoreSession.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/CoreSession.java
Tue Mar 24 20:39:23 2009
@@ -31,7 +31,6 @@
 import org.apache.directory.server.core.entry.ClonedServerEntry;
 import org.apache.directory.server.core.entry.ServerEntry;
 import org.apache.directory.server.core.filtering.EntryFilteringCursor;
-import org.apache.directory.server.core.impl.DefaultDirectoryService.LogChange;
 import org.apache.directory.server.core.interceptor.context.OperationContext;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
 import org.apache.directory.shared.ldap.entry.Modification;
@@ -63,6 +62,13 @@
  */
 public interface CoreSession
 {
+    /** A structure telling the changeLog what to do with the incoming change */
+    public enum LogChange
+    {
+        TRUE,  // The change must me stored 
+        FALSE  // The change must not be stred
+    };
+   
     /**
      * Gets the DirectoryService this session is bound to.
      *

Modified: directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultCoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultCoreSession.java?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultCoreSession.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/impl/DefaultCoreSession.java
Tue Mar 24 20:39:23 2009
@@ -39,7 +39,6 @@
 import org.apache.directory.server.core.entry.ServerModification;
 import org.apache.directory.server.core.entry.ServerStringValue;
 import org.apache.directory.server.core.filtering.EntryFilteringCursor;
-import org.apache.directory.server.core.impl.DefaultDirectoryService.LogChange;
 import org.apache.directory.server.core.interceptor.context.AbstractOperationContext;
 import org.apache.directory.server.core.interceptor.context.AddOperationContext;
 import org.apache.directory.server.core.interceptor.context.CompareOperationContext;

Modified: directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
Tue Mar 24 20:39:23 2009
@@ -22,7 +22,7 @@
 
 import org.apache.directory.server.core.CoreSession;
 import org.apache.directory.server.core.changelog.ChangeLogEvent;
-import org.apache.directory.server.core.impl.DefaultDirectoryService.LogChange;
+import org.apache.directory.server.core.CoreSession.LogChange;
 import org.apache.directory.shared.ldap.name.LdapDN;
 
 

Modified: directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/ChangeOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/ChangeOperationContext.java?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/ChangeOperationContext.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/interceptor/context/ChangeOperationContext.java
Tue Mar 24 20:39:23 2009
@@ -21,7 +21,7 @@
 
 
 import org.apache.directory.server.core.changelog.ChangeLogEvent;
-import org.apache.directory.server.core.impl.DefaultDirectoryService.LogChange;
+import org.apache.directory.server.core.CoreSession.LogChange;
 
 
 /**

Modified: directory/apacheds/branches/ldif-partition/core/src/test/java/org/apache/directory/server/core/authz/support/MaxImmSubFilterTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/test/java/org/apache/directory/server/core/authz/support/MaxImmSubFilterTest.java?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/test/java/org/apache/directory/server/core/authz/support/MaxImmSubFilterTest.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/test/java/org/apache/directory/server/core/authz/support/MaxImmSubFilterTest.java
Tue Mar 24 20:39:23 2009
@@ -38,7 +38,6 @@
 import org.apache.directory.server.core.filtering.EntryFilteringCursor;
 import org.apache.directory.server.core.filtering.BaseEntryFilteringCursor;
 import org.apache.directory.server.core.impl.DefaultCoreSession;
-import org.apache.directory.server.core.impl.DefaultDirectoryService;
 import org.apache.directory.server.core.interceptor.Interceptor;
 import org.apache.directory.server.core.interceptor.InterceptorChain;
 import org.apache.directory.server.core.interceptor.context.AddOperationContext;

Modified: directory/apacheds/branches/ldif-partition/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/pom.xml?rev=758008&r1=758007&r2=758008&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/pom.xml (original)
+++ directory/apacheds/branches/ldif-partition/pom.xml Tue Mar 24 20:39:23 2009
@@ -348,6 +348,7 @@
     <module>core-service</module>
     <module>core-jndi</module>
     <module>core-constants</module>
+    <module>core-interceptor</module>
     <module>core-shared</module>
     <module>core-plugin</module>
     <module>core-unit</module>



Mime
View raw message