directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r431274 - in /directory/sandbox/akarasulu/apacheds-2.0/schema: ./ normalizers/ normalizers/src/ normalizers/src/main/ normalizers/src/main/java/ normalizers/src/main/java/org/ normalizers/src/main/java/org/apache/ normalizers/src/main/java/...
Date Mon, 14 Aug 2006 00:49:25 GMT
Author: akarasulu
Date: Sun Aug 13 17:49:24 2006
New Revision: 431274

URL: http://svn.apache.org/viewvc?rev=431274&view=rev
Log:
adding normalizers bundle

Added:
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/   (with props)
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/pom.xml
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
Modified:
    directory/sandbox/akarasulu/apacheds-2.0/schema/pom.xml
    directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/pom.xml

Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Aug 13 17:49:24 2006
@@ -0,0 +1,6 @@
+target
+*.iml
+*.log
+.classpath
+.settings
+.project

Added: directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/pom.xml?rev=431274&view=auto
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/pom.xml (added)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/pom.xml Sun Aug 13 17:49:24
2006
@@ -0,0 +1,44 @@
+<project>
+  <parent>
+    <artifactId>build</artifactId>
+    <groupId>org.apache.directory.server2.schema</groupId>
+    <version>2.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <packaging>osgi-bundle</packaging>
+  <name>ApacheDS 2.0: Schema Builtin Normalizers</name>
+  <artifactId>schema-normalizers</artifactId>
+  <dependencies>
+    <dependency>
+      <artifactId>schema-descriptions</artifactId>
+      <groupId>${pom.groupId}</groupId>
+      <version>${pom.version}</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix.plugins</groupId>
+        <artifactId>maven-osgi-plugin</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <extensions>true</extensions>
+        <configuration>
+          <osgiManifest>
+            <bundleName>ApacheDS Schema Builtin Normalizers</bundleName>
+            <bundleVendor>Apache Software Foundation</bundleVendor>
+            <bundleDescription>
+              A bundle containing built in normalizers.
+            </bundleDescription>
+            <importPackage>
+              org.apache.directory.server2.schema.normalizers,org.apache.directory.server2.schema.descriptions
+            </importPackage>
+            <exportPackage>
+              org.apache.directory.server2.schema.normalizers
+            </exportPackage>
+          </osgiManifest>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java?rev=431274&view=auto
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
(added)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
Sun Aug 13 17:49:24 2006
@@ -0,0 +1,48 @@
+/*
+ *   Copyright 2006 The Apache Software Foundation
+ *
+ *   Licensed 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.
+ *
+ */
+package org.apache.directory.server2.schema.normalizers;
+
+
+import java.io.Serializable;
+
+import org.apache.directory.server2.schema.descriptions.Normalizer;
+
+
+/**
+ * No op (pass through or do nothing) normalizer returning what its given.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev: 379008 $
+ */
+public class NoOpNormalizer implements Normalizer, Serializable
+{
+    static final long serialVersionUID = -7817763636668562489L;
+
+
+    /**
+     * Returns the value argument as-is without alterations all the time.
+     * 
+     * @param value
+     *            any value
+     * @return the value argument returned as-is
+     * @see org.apache.directory.shared.ldap.schema.Normalizer#normalize(java.lang.Object)
+     */
+    public Object normalize( Object value )
+    {
+        return value;
+    }
+}

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/pom.xml?rev=431274&r1=431273&r2=431274&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/pom.xml (original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/pom.xml Sun Aug 13 17:49:24 2006
@@ -13,5 +13,6 @@
   <modules>
     <module>registries</module>
     <module>descriptions</module>
+    <module>normalizers</module>
   </modules>
 </project>

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/pom.xml?rev=431274&r1=431273&r2=431274&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/pom.xml (original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/pom.xml Sun Aug
13 17:49:24 2006
@@ -6,7 +6,7 @@
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <packaging>osgi-bundle</packaging>
-  <name>ApacheDS 2.0: Oid Registry Service</name>
+  <name>ApacheDS 2.0: Schema Oid Registry Service</name>
   <artifactId>oid-registry-service</artifactId>
   <dependencies>
   </dependencies>



Mime
View raw message