You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/02/12 06:51:22 UTC
svn commit: r377135 [7/36] - in /directory/sandbox/akarasulu/rc1:
apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/
apacheds/core-plugin/src/test/java/org/apache/directory/server/core/tools/schema/
apacheds/core-shared/s...
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java Sat Feb 11 21:50:03 2006
@@ -1,81 +1,81 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import java.util.Comparator;
-
-import javax.naming.NamingException;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * An adapter for the ComparatorRegistry's monitor.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class ComparatorRegistryMonitorAdapter implements ComparatorRegistryMonitor
-{
- private static final Logger log = LoggerFactory.getLogger( ComparatorRegistryMonitorAdapter.class );
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#registered(
- * org.apache.eve.schema.Comparator)
- */
- public void registered( String oid, Comparator comparator )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#lookedUp(
- * org.apache.eve.schema.Comparator)
- */
- public void lookedUp( String oid, Comparator comparator )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#lookupFailed(
- * java.lang.String, javax.naming.NamingException)
- */
- public void lookupFailed( String oid, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to look up the comparator registry: " + oid, fault );
- }
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#registerFailed(
- * org.apache.eve.schema.Comparator, javax.naming.NamingException)
- */
- public void registerFailed( String oid, Comparator comparator, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to register a comparator for oid '" + oid + "'.", fault );
- }
- }
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import java.util.Comparator;
+
+import javax.naming.NamingException;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * An adapter for the ComparatorRegistry's monitor.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class ComparatorRegistryMonitorAdapter implements ComparatorRegistryMonitor
+{
+ private static final Logger log = LoggerFactory.getLogger( ComparatorRegistryMonitorAdapter.class );
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#registered(
+ * org.apache.eve.schema.Comparator)
+ */
+ public void registered( String oid, Comparator comparator )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#lookedUp(
+ * org.apache.eve.schema.Comparator)
+ */
+ public void lookedUp( String oid, Comparator comparator )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#lookupFailed(
+ * java.lang.String, javax.naming.NamingException)
+ */
+ public void lookupFailed( String oid, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to look up the comparator registry: " + oid, fault );
+ }
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.ComparatorRegistryMonitor#registerFailed(
+ * org.apache.eve.schema.Comparator, javax.naming.NamingException)
+ */
+ public void registerFailed( String oid, Comparator comparator, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to register a comparator for oid '" + oid + "'.", fault );
+ }
+ }
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ComparatorRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ConcreteNameComponentNormalizer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ConcreteNameComponentNormalizer.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITContentRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/DITStructureRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalAttributeTypeRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalAttributeTypeRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalComparatorRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalComparatorRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalDitContentRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalDitContentRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalDitStructureRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalDitStructureRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalMatchingRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalMatchingRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalMatchingRuleUseRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalMatchingRuleUseRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalNameFormRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalNameFormRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalNormalizerRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalNormalizerRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalObjectClassRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalObjectClassRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalOidRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalRegistries.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalRegistries.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalSyntaxCheckerRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalSyntaxCheckerRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalSyntaxRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/GlobalSyntaxRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java Sat Feb 11 21:50:03 2006
@@ -1,84 +1,84 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import java.util.Iterator;
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.MatchingRule;
-
-
-/**
- * A registry used to track system matchingRules.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface MatchingRuleRegistry
-{
- /**
- * Registers a MatchingRule with this registry.
- *
- * @param schema the name of the schema the MatchingRule is associated with
- * @param matchingRule the MatchingRule to register
- * @throws NamingException if the matchingRule is already registered or the
- * registration operation is not supported
- */
- void register( String schema, MatchingRule matchingRule ) throws NamingException;
-
-
- /**
- * Looks up a MatchingRule by its unique Object Identifier or by name.
- *
- * @param id the object identifier or the name identifier
- * @return the MatchingRule for the id
- * @throws NamingException if there is a backing store failure or the
- * MatchingRule does not exist.
- */
- MatchingRule lookup( String id ) throws NamingException;
-
-
- /**
- * Gets the name of the schema this schema object is associated with.
- *
- * @param id the object identifier or the name
- * @return the schema name
- * @throws NamingException if the schema object does not exist
- */
- String getSchemaName( String id ) throws NamingException;
-
-
- /**
- * Checks to see if a MatchingRule exists. Backing store failures simply
- * return false.
- *
- * @param oid the object identifier
- * @return true if a MatchingRule definition exists for the oid, false
- * otherwise
- */
- boolean hasMatchingRule( String oid );
-
-
- /**
- * Gets an Iterator over the MatchingRules within this registry.
- *
- * @return an iterator over all MatchingRules in registry
- */
- Iterator list();
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import java.util.Iterator;
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+
+
+/**
+ * A registry used to track system matchingRules.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface MatchingRuleRegistry
+{
+ /**
+ * Registers a MatchingRule with this registry.
+ *
+ * @param schema the name of the schema the MatchingRule is associated with
+ * @param matchingRule the MatchingRule to register
+ * @throws NamingException if the matchingRule is already registered or the
+ * registration operation is not supported
+ */
+ void register( String schema, MatchingRule matchingRule ) throws NamingException;
+
+
+ /**
+ * Looks up a MatchingRule by its unique Object Identifier or by name.
+ *
+ * @param id the object identifier or the name identifier
+ * @return the MatchingRule for the id
+ * @throws NamingException if there is a backing store failure or the
+ * MatchingRule does not exist.
+ */
+ MatchingRule lookup( String id ) throws NamingException;
+
+
+ /**
+ * Gets the name of the schema this schema object is associated with.
+ *
+ * @param id the object identifier or the name
+ * @return the schema name
+ * @throws NamingException if the schema object does not exist
+ */
+ String getSchemaName( String id ) throws NamingException;
+
+
+ /**
+ * Checks to see if a MatchingRule exists. Backing store failures simply
+ * return false.
+ *
+ * @param oid the object identifier
+ * @return true if a MatchingRule definition exists for the oid, false
+ * otherwise
+ */
+ boolean hasMatchingRule( String oid );
+
+
+ /**
+ * Gets an Iterator over the MatchingRules within this registry.
+ *
+ * @return an iterator over all MatchingRules in registry
+ */
+ Iterator list();
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java Sat Feb 11 21:50:03 2006
@@ -1,65 +1,65 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.MatchingRule;
-
-
-/**
- * Monitor interface for a MatchingRuleRegistry.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface MatchingRuleRegistryMonitor
-{
- /**
- * Monitors when a MatchingRule is registered successfully.
- *
- * @param matchingRule the MatchingRule registered
- */
- void registered( MatchingRule matchingRule );
-
-
- /**
- * Monitors when a MatchingRule is successfully looked up.
- *
- * @param matchingRule the MatchingRule looked up
- */
- void lookedUp( MatchingRule matchingRule );
-
-
- /**
- * Monitors when a lookup attempt fails.
- *
- * @param oid the OID for the MatchingRule to lookup
- * @param fault the exception to be thrown for the fault
- */
- void lookupFailed( String oid, NamingException fault );
-
-
- /**
- * Monitors when a registration attempt fails.
- *
- * @param matchingRule the MatchingRule which failed registration
- * @param fault the exception to be thrown for the fault
- */
- void registerFailed( MatchingRule matchingRule, NamingException fault );
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+
+
+/**
+ * Monitor interface for a MatchingRuleRegistry.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface MatchingRuleRegistryMonitor
+{
+ /**
+ * Monitors when a MatchingRule is registered successfully.
+ *
+ * @param matchingRule the MatchingRule registered
+ */
+ void registered( MatchingRule matchingRule );
+
+
+ /**
+ * Monitors when a MatchingRule is successfully looked up.
+ *
+ * @param matchingRule the MatchingRule looked up
+ */
+ void lookedUp( MatchingRule matchingRule );
+
+
+ /**
+ * Monitors when a lookup attempt fails.
+ *
+ * @param oid the OID for the MatchingRule to lookup
+ * @param fault the exception to be thrown for the fault
+ */
+ void lookupFailed( String oid, NamingException fault );
+
+
+ /**
+ * Monitors when a registration attempt fails.
+ *
+ * @param matchingRule the MatchingRule which failed registration
+ * @param fault the exception to be thrown for the fault
+ */
+ void registerFailed( MatchingRule matchingRule, NamingException fault );
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java Sat Feb 11 21:50:03 2006
@@ -1,80 +1,80 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.MatchingRule;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * An adapter for a MatchingRuleRegistryMonitor.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class MatchingRuleRegistryMonitorAdapter implements MatchingRuleRegistryMonitor
-{
- private static final Logger log = LoggerFactory.getLogger( MatchingRuleRegistryMonitorAdapter.class );
-
-
- /**
- * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registered(
- * org.apache.directory.shared.ldap.schema.MatchingRule)
- */
- public void registered( MatchingRule rule )
- {
- }
-
-
- /**
- * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#lookedUp(
- * org.apache.directory.shared.ldap.schema.MatchingRule)
- */
- public void lookedUp( MatchingRule rule )
- {
- }
-
-
- /**
- * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#lookupFailed(
- * java.lang.String, javax.naming.NamingException)
- */
- public void lookupFailed( String oid, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to look up the matching rule: " + oid, fault );
- }
- }
-
-
- /**
- * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registerFailed(
- * org.apache.directory.shared.ldap.schema.MatchingRule, javax.naming.NamingException)
- */
- public void registerFailed( MatchingRule rule, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to register a matching rule: " + rule, fault );
- }
- }
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.MatchingRule;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * An adapter for a MatchingRuleRegistryMonitor.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class MatchingRuleRegistryMonitorAdapter implements MatchingRuleRegistryMonitor
+{
+ private static final Logger log = LoggerFactory.getLogger( MatchingRuleRegistryMonitorAdapter.class );
+
+
+ /**
+ * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registered(
+ * org.apache.directory.shared.ldap.schema.MatchingRule)
+ */
+ public void registered( MatchingRule rule )
+ {
+ }
+
+
+ /**
+ * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#lookedUp(
+ * org.apache.directory.shared.ldap.schema.MatchingRule)
+ */
+ public void lookedUp( MatchingRule rule )
+ {
+ }
+
+
+ /**
+ * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#lookupFailed(
+ * java.lang.String, javax.naming.NamingException)
+ */
+ public void lookupFailed( String oid, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to look up the matching rule: " + oid, fault );
+ }
+ }
+
+
+ /**
+ * @see org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registerFailed(
+ * org.apache.directory.shared.ldap.schema.MatchingRule, javax.naming.NamingException)
+ */
+ public void registerFailed( MatchingRule rule, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to register a matching rule: " + rule, fault );
+ }
+ }
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/MatchingRuleUseRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NameFormRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java Sat Feb 11 21:50:03 2006
@@ -1,74 +1,74 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.Normalizer;
-
-
-/**
- * Normalizer registry service interface.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface NormalizerRegistry
-{
- /**
- * Registers a Normalizer with this registry.
- *
- * @param schema the name of the schema the Normalizer is associated with
- * @param normalizer the Normalizer to register
- * @throws NamingException if the Normalizer is already registered or the
- * registration operation is not supported
- */
- void register( String schema, String oid, Normalizer normalizer ) throws NamingException;
-
-
- /**
- * Looks up a Normalizer by its unique Object Identifier.
- *
- * @param oid the object identifier
- * @return the Normalizer for the oid
- * @throws NamingException if there is a backing store failure or the
- * Normalizer does not exist.
- */
- Normalizer lookup( String oid ) throws NamingException;
-
-
- /**
- * Gets the name of the schema this schema object is associated with.
- *
- * @param oid the object identifier
- * @return the schema name
- * @throws NamingException if the schema object does not exist
- */
- String getSchemaName( String oid ) throws NamingException;
-
-
- /**
- * Checks to see if a Normalizer exists. Backing store failures simply
- * return false.
- *
- * @param oid the object identifier
- * @return true if a Normalizer definition exists for the oid, false
- * otherwise
- */
- boolean hasNormalizer( String oid );
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.Normalizer;
+
+
+/**
+ * Normalizer registry service interface.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface NormalizerRegistry
+{
+ /**
+ * Registers a Normalizer with this registry.
+ *
+ * @param schema the name of the schema the Normalizer is associated with
+ * @param normalizer the Normalizer to register
+ * @throws NamingException if the Normalizer is already registered or the
+ * registration operation is not supported
+ */
+ void register( String schema, String oid, Normalizer normalizer ) throws NamingException;
+
+
+ /**
+ * Looks up a Normalizer by its unique Object Identifier.
+ *
+ * @param oid the object identifier
+ * @return the Normalizer for the oid
+ * @throws NamingException if there is a backing store failure or the
+ * Normalizer does not exist.
+ */
+ Normalizer lookup( String oid ) throws NamingException;
+
+
+ /**
+ * Gets the name of the schema this schema object is associated with.
+ *
+ * @param oid the object identifier
+ * @return the schema name
+ * @throws NamingException if the schema object does not exist
+ */
+ String getSchemaName( String oid ) throws NamingException;
+
+
+ /**
+ * Checks to see if a Normalizer exists. Backing store failures simply
+ * return false.
+ *
+ * @param oid the object identifier
+ * @return true if a Normalizer definition exists for the oid, false
+ * otherwise
+ */
+ boolean hasNormalizer( String oid );
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java Sat Feb 11 21:50:03 2006
@@ -1,68 +1,68 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.Normalizer;
-
-
-/**
- * Monitor interface for a NormalizerRegistry.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface NormalizerRegistryMonitor
-{
- /**
- * Monitors when a Normalizer is registered successfully.
- *
- * @param oid
- * @param normalizer the Normalizer registered
- */
- void registered( String oid, Normalizer normalizer );
-
-
- /**
- * Monitors when a Normalizer is successfully looked up.
- *
- * @param oid
- * @param normalizer the Normalizer looked up
- */
- void lookedUp( String oid, Normalizer normalizer );
-
-
- /**
- * Monitors when a lookup attempt fails.
- *
- * @param oid the OID for the Normalizer to lookup
- * @param fault the exception to be thrown for the fault
- */
- void lookupFailed( String oid, NamingException fault );
-
-
- /**
- * Monitors when a registration attempt fails.
- *
- * @param oid
- * @param normalizer the Normalizer which failed registration
- * @param fault the exception to be thrown for the fault
- */
- void registerFailed( String oid, Normalizer normalizer, NamingException fault );
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.Normalizer;
+
+
+/**
+ * Monitor interface for a NormalizerRegistry.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface NormalizerRegistryMonitor
+{
+ /**
+ * Monitors when a Normalizer is registered successfully.
+ *
+ * @param oid
+ * @param normalizer the Normalizer registered
+ */
+ void registered( String oid, Normalizer normalizer );
+
+
+ /**
+ * Monitors when a Normalizer is successfully looked up.
+ *
+ * @param oid
+ * @param normalizer the Normalizer looked up
+ */
+ void lookedUp( String oid, Normalizer normalizer );
+
+
+ /**
+ * Monitors when a lookup attempt fails.
+ *
+ * @param oid the OID for the Normalizer to lookup
+ * @param fault the exception to be thrown for the fault
+ */
+ void lookupFailed( String oid, NamingException fault );
+
+
+ /**
+ * Monitors when a registration attempt fails.
+ *
+ * @param oid
+ * @param normalizer the Normalizer which failed registration
+ * @param fault the exception to be thrown for the fault
+ */
+ void registerFailed( String oid, Normalizer normalizer, NamingException fault );
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java Sat Feb 11 21:50:03 2006
@@ -1,80 +1,80 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.Normalizer;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * An adapter for the NormalizerRegistry's monitor.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class NormalizerRegistryMonitorAdapter implements NormalizerRegistryMonitor
-{
- private static final Logger log = LoggerFactory.getLogger( NormalizerRegistryMonitorAdapter.class );
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#registered(
- * org.apache.eve.schema.Normalizer)
- */
- public void registered( String oid, Normalizer normalizer )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#lookedUp(
- * org.apache.eve.schema.Normalizer)
- */
- public void lookedUp( String oid, Normalizer normalizer )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#lookupFailed(
- * java.lang.String, javax.naming.NamingException)
- */
- public void lookupFailed( String oid, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to look up the normalizer: " + oid, fault );
- }
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#registerFailed(
- * org.apache.eve.schema.Normalizer, javax.naming.NamingException)
- */
- public void registerFailed( String oid, Normalizer normalizer, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to register a normalizer: " + oid, fault );
- }
- }
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.Normalizer;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * An adapter for the NormalizerRegistry's monitor.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class NormalizerRegistryMonitorAdapter implements NormalizerRegistryMonitor
+{
+ private static final Logger log = LoggerFactory.getLogger( NormalizerRegistryMonitorAdapter.class );
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#registered(
+ * org.apache.eve.schema.Normalizer)
+ */
+ public void registered( String oid, Normalizer normalizer )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#lookedUp(
+ * org.apache.eve.schema.Normalizer)
+ */
+ public void lookedUp( String oid, Normalizer normalizer )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#lookupFailed(
+ * java.lang.String, javax.naming.NamingException)
+ */
+ public void lookupFailed( String oid, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to look up the normalizer: " + oid, fault );
+ }
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.NormalizerRegistryMonitor#registerFailed(
+ * org.apache.eve.schema.Normalizer, javax.naming.NamingException)
+ */
+ public void registerFailed( String oid, Normalizer normalizer, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to register a normalizer: " + oid, fault );
+ }
+ }
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/NormalizerRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectClassRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectFactoryRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/ObjectFactoryRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/OidRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/Registries.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/Registries.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaChecker.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SerializableComparator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SerializableComparator.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/StateFactoryRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/StateFactoryRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java Sat Feb 11 21:50:03 2006
@@ -1,74 +1,74 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.SyntaxChecker;
-
-
-/**
- * SyntaxChecker registry component's service interface.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SyntaxCheckerRegistry
-{
- /**
- * Registers a SyntaxChecker with this registry.
- *
- * @param schema the name of the schema the SyntaxChecker is associated with
- * @param syntaxChecker the SyntaxChecker to register
- * @throws NamingException if the SyntaxChecker is already registered or the
- * registration operation is not supported
- */
- void register( String schema, String oid, SyntaxChecker syntaxChecker ) throws NamingException;
-
-
- /**
- * Looks up a SyntaxChecker by its unique Object Identifier.
- *
- * @param oid the object identifier
- * @return the SyntaxChecker for the oid
- * @throws NamingException if there is a backing store failure or the
- * SyntaxChecker does not exist.
- */
- SyntaxChecker lookup( String oid ) throws NamingException;
-
-
- /**
- * Gets the name of the schema this schema object is associated with.
- *
- * @param oid the object identifier
- * @return the schema name
- * @throws NamingException if the schema object does not exist
- */
- String getSchemaName( String oid ) throws NamingException;
-
-
- /**
- * Checks to see if a SyntaxChecker exists. Backing store failures simply
- * return false.
- *
- * @param oid the object identifier
- * @return true if a SyntaxChecker definition exists for the oid, false
- * otherwise
- */
- boolean hasSyntaxChecker( String oid );
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.SyntaxChecker;
+
+
+/**
+ * SyntaxChecker registry component's service interface.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SyntaxCheckerRegistry
+{
+ /**
+ * Registers a SyntaxChecker with this registry.
+ *
+ * @param schema the name of the schema the SyntaxChecker is associated with
+ * @param syntaxChecker the SyntaxChecker to register
+ * @throws NamingException if the SyntaxChecker is already registered or the
+ * registration operation is not supported
+ */
+ void register( String schema, String oid, SyntaxChecker syntaxChecker ) throws NamingException;
+
+
+ /**
+ * Looks up a SyntaxChecker by its unique Object Identifier.
+ *
+ * @param oid the object identifier
+ * @return the SyntaxChecker for the oid
+ * @throws NamingException if there is a backing store failure or the
+ * SyntaxChecker does not exist.
+ */
+ SyntaxChecker lookup( String oid ) throws NamingException;
+
+
+ /**
+ * Gets the name of the schema this schema object is associated with.
+ *
+ * @param oid the object identifier
+ * @return the schema name
+ * @throws NamingException if the schema object does not exist
+ */
+ String getSchemaName( String oid ) throws NamingException;
+
+
+ /**
+ * Checks to see if a SyntaxChecker exists. Backing store failures simply
+ * return false.
+ *
+ * @param oid the object identifier
+ * @return true if a SyntaxChecker definition exists for the oid, false
+ * otherwise
+ */
+ boolean hasSyntaxChecker( String oid );
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java Sat Feb 11 21:50:03 2006
@@ -1,68 +1,68 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.SyntaxChecker;
-
-
-/**
- * Monitor interface for a SyntaxCheckerRegistry.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SyntaxCheckerRegistryMonitor
-{
- /**
- * Monitors when a SyntaxChecker is registered successfully.
- *
- * @param oid
- * @param syntaxChecker the SyntaxChecker registered
- */
- void registered( String oid, SyntaxChecker syntaxChecker );
-
-
- /**
- * Monitors when a SyntaxChecker is successfully looked up.
- *
- * @param oid
- * @param syntaxChecker the SyntaxChecker looked up
- */
- void lookedUp( String oid, SyntaxChecker syntaxChecker );
-
-
- /**
- * Monitors when a lookup attempt fails.
- *
- * @param oid the OID for the SyntaxChecker to lookup
- * @param fault the exception to be thrown for the fault
- */
- void lookupFailed( String oid, NamingException fault );
-
-
- /**
- * Monitors when a registration attempt fails.
- *
- * @param oid
- * @param syntaxChecker the SyntaxChecker which failed registration
- * @param fault the exception to be thrown for the fault
- */
- void registerFailed( String oid, SyntaxChecker syntaxChecker, NamingException fault );
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.SyntaxChecker;
+
+
+/**
+ * Monitor interface for a SyntaxCheckerRegistry.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SyntaxCheckerRegistryMonitor
+{
+ /**
+ * Monitors when a SyntaxChecker is registered successfully.
+ *
+ * @param oid
+ * @param syntaxChecker the SyntaxChecker registered
+ */
+ void registered( String oid, SyntaxChecker syntaxChecker );
+
+
+ /**
+ * Monitors when a SyntaxChecker is successfully looked up.
+ *
+ * @param oid
+ * @param syntaxChecker the SyntaxChecker looked up
+ */
+ void lookedUp( String oid, SyntaxChecker syntaxChecker );
+
+
+ /**
+ * Monitors when a lookup attempt fails.
+ *
+ * @param oid the OID for the SyntaxChecker to lookup
+ * @param fault the exception to be thrown for the fault
+ */
+ void lookupFailed( String oid, NamingException fault );
+
+
+ /**
+ * Monitors when a registration attempt fails.
+ *
+ * @param oid
+ * @param syntaxChecker the SyntaxChecker which failed registration
+ * @param fault the exception to be thrown for the fault
+ */
+ void registerFailed( String oid, SyntaxChecker syntaxChecker, NamingException fault );
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Modified: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java (original)
+++ directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java Sat Feb 11 21:50:03 2006
@@ -1,80 +1,80 @@
-/*
- * Copyright 2004 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.server.core.schema;
-
-
-import javax.naming.NamingException;
-
-import org.apache.directory.shared.ldap.schema.SyntaxChecker;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-/**
- * An adapter for the SyntaxCheckerRegistry's monitor.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class SyntaxCheckerRegistryMonitorAdapter implements SyntaxCheckerRegistryMonitor
-{
- private static final Logger log = LoggerFactory.getLogger( SyntaxCheckerRegistryMonitorAdapter.class );
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#registered(
- * org.apache.eve.schema.SyntaxChecker)
- */
- public void registered( String oid, SyntaxChecker syntaxChecker )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#lookedUp(
- * org.apache.eve.schema.SyntaxChecker)
- */
- public void lookedUp( String oid, SyntaxChecker syntaxChecker )
- {
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#lookupFailed(
- * java.lang.String, javax.naming.NamingException)
- */
- public void lookupFailed( String oid, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to look up the syntax checker: " + oid, fault );
- }
- }
-
-
- /* (non-Javadoc)
- * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#registerFailed(
- * org.apache.eve.schema.SyntaxChecker, javax.naming.NamingException)
- */
- public void registerFailed( String oid, SyntaxChecker syntaxChecker, NamingException fault )
- {
- if ( fault != null )
- {
- log.warn( "Failed to register a syntax checker: " + oid, fault );
- }
- }
-}
+/*
+ * Copyright 2004 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.server.core.schema;
+
+
+import javax.naming.NamingException;
+
+import org.apache.directory.shared.ldap.schema.SyntaxChecker;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * An adapter for the SyntaxCheckerRegistry's monitor.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class SyntaxCheckerRegistryMonitorAdapter implements SyntaxCheckerRegistryMonitor
+{
+ private static final Logger log = LoggerFactory.getLogger( SyntaxCheckerRegistryMonitorAdapter.class );
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#registered(
+ * org.apache.eve.schema.SyntaxChecker)
+ */
+ public void registered( String oid, SyntaxChecker syntaxChecker )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#lookedUp(
+ * org.apache.eve.schema.SyntaxChecker)
+ */
+ public void lookedUp( String oid, SyntaxChecker syntaxChecker )
+ {
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#lookupFailed(
+ * java.lang.String, javax.naming.NamingException)
+ */
+ public void lookupFailed( String oid, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to look up the syntax checker: " + oid, fault );
+ }
+ }
+
+
+ /* (non-Javadoc)
+ * @see org.apache.directory.server.schema.SyntaxCheckerRegistryMonitor#registerFailed(
+ * org.apache.eve.schema.SyntaxChecker, javax.naming.NamingException)
+ */
+ public void registerFailed( String oid, SyntaxChecker syntaxChecker, NamingException fault )
+ {
+ if ( fault != null )
+ {
+ log.warn( "Failed to register a syntax checker: " + oid, fault );
+ }
+ }
+}
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxCheckerRegistryMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxRegistry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/sandbox/akarasulu/rc1/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SyntaxRegistry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
-HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
+Rev
+Revision
+Date
+Id