|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.bootstrap.BootstrapNormalizerRegistry
The POJO implementation for the NormalizerRegistry service.
Constructor Summary | |
BootstrapNormalizerRegistry()
Creates a default normalizer registry. |
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. |
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,
Normalizer normalizer)
Registers a Normalizer with this registry. |
void |
setMonitor(NormalizerRegistryMonitor monitor)
Sets the monitor used to deliver notification events to via callbacks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BootstrapNormalizerRegistry()
Method Detail |
public void setMonitor(NormalizerRegistryMonitor monitor)
monitor
- the monitor to recieve callback eventspublic void register(java.lang.String schema, java.lang.String oid, Normalizer normalizer) throws javax.naming.NamingException
NormalizerRegistry
register
in interface NormalizerRegistry
schema
- 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 supportedpublic Normalizer lookup(java.lang.String oid) throws javax.naming.NamingException
NormalizerRegistry
lookup
in interface NormalizerRegistry
oid
- 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 NormalizerRegistry
oid
- the object identifier
public java.lang.String getSchemaName(java.lang.String oid) throws javax.naming.NamingException
NormalizerRegistry
getSchemaName
in interface NormalizerRegistry
oid
- 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 |