public interface ComparatorRegistry extends SchemaObjectRegistry<LdapComparator<?>>, Iterable<LdapComparator<?>>
Modifier and Type | Method and Description |
---|---|
ComparatorRegistry |
copy()
Copy the ComparatorRegistry
|
void |
register(LdapComparator<?> comparator)
Registers a new LdapComparator with this registry.
|
LdapComparator<?> |
unregister(String numericOid)
Removes the LdapComparator registered with this registry, using its
numeric OID.
|
void |
unregisterSchemaElements(String schemaName)
Unregisters all LdapComparators defined for a specific schema from
this registry.
|
clear, contains, get, getOidByName, getSchemaName, getType, iterator, lookup, oidsIterator, renameSchema, size, unregister
forEach, iterator, spliterator
void register(LdapComparator<?> comparator) throws LdapException
register
in interface SchemaObjectRegistry<LdapComparator<?>>
comparator
- the LdapComparator to registerLdapException
- if the LdapComparator is already registered or
the registration operation is not supportedLdapComparator<?> unregister(String numericOid) throws LdapException
unregister
in interface SchemaObjectRegistry<LdapComparator<?>>
numericOid
- the numeric identifierLdapException
- if the numeric identifier is invalidvoid unregisterSchemaElements(String schemaName) throws LdapException
unregisterSchemaElements
in interface SchemaObjectRegistry<LdapComparator<?>>
schemaName
- the name of the schema whose LdapComparators will be removed fromLdapException
- If we had a problem while unregistering the schemaComparatorRegistry copy()
copy
in interface SchemaObjectRegistry<LdapComparator<?>>
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.