|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.GlobalNormalizerRegistry
public class GlobalNormalizerRegistry
A simple POJO implementation of the NormalizerRegistry service interface.
| Constructor Summary | |
|---|---|
GlobalNormalizerRegistry(BootstrapNormalizerRegistry bootstrap)
Creates a default NormalizerRegistry by initializing the map and the montior. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String oid)
Gets the name of the schema this schema object is associated with. |
boolean |
hasNormalizer(java.lang.String oid)
Checks to see if a Normalizer exists. |
org.apache.directory.shared.ldap.schema.Normalizer |
lookup(java.lang.String oid)
Looks up a Normalizer by its unique Object Identifier. |
void |
register(java.lang.String schema,
java.lang.String oid,
org.apache.directory.shared.ldap.schema.Normalizer normalizer)
Registers a Normalizer with this registry. |
void |
setMonitor(NormalizerRegistryMonitor monitor)
Sets the monitor used by this registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalNormalizerRegistry(BootstrapNormalizerRegistry bootstrap)
| Method Detail |
|---|
public void setMonitor(NormalizerRegistryMonitor monitor)
monitor - the monitor to set for registry event callbacks
public void register(java.lang.String schema,
java.lang.String oid,
org.apache.directory.shared.ldap.schema.Normalizer normalizer)
throws javax.naming.NamingException
NormalizerRegistry
register in interface NormalizerRegistryschema - the name of the schema the Normalizer is associated withnormalizer - the Normalizer to register
javax.naming.NamingException - if the Normalizer is already registered or the
registration operation is not supported
public org.apache.directory.shared.ldap.schema.Normalizer lookup(java.lang.String oid)
throws javax.naming.NamingException
NormalizerRegistry
lookup in interface NormalizerRegistryoid - the object identifier
javax.naming.NamingException - if there is a backing store failure or the
Normalizer does not exist.public boolean hasNormalizer(java.lang.String oid)
NormalizerRegistry
hasNormalizer in interface NormalizerRegistryoid - the object identifier
public java.lang.String getSchemaName(java.lang.String oid)
throws javax.naming.NamingException
NormalizerRegistry
getSchemaName in interface NormalizerRegistryoid - the object identifier
javax.naming.NamingException - if the schema object does not exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||