|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.GlobalSyntaxCheckerRegistry
public class GlobalSyntaxCheckerRegistry
A simple POJO implementation of the SyntaxCheckerRegistry service interface.
| Constructor Summary | |
|---|---|
GlobalSyntaxCheckerRegistry(BootstrapSyntaxCheckerRegistry bootstrap)
Creates a default SyntaxCheckerRegistry 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 |
hasSyntaxChecker(java.lang.String oid)
Checks to see if a SyntaxChecker exists. |
org.apache.directory.shared.ldap.schema.SyntaxChecker |
lookup(java.lang.String oid)
Looks up a SyntaxChecker by its unique Object Identifier. |
void |
register(java.lang.String schema,
java.lang.String oid,
org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker)
Registers a SyntaxChecker with this registry. |
void |
setMonitor(SyntaxCheckerRegistryMonitor 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 GlobalSyntaxCheckerRegistry(BootstrapSyntaxCheckerRegistry bootstrap)
| Method Detail |
|---|
public void setMonitor(SyntaxCheckerRegistryMonitor 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.SyntaxChecker syntaxChecker)
throws javax.naming.NamingException
SyntaxCheckerRegistry
register in interface SyntaxCheckerRegistryschema - the name of the schema the SyntaxChecker is associated withsyntaxChecker - the SyntaxChecker to register
javax.naming.NamingException - if the SyntaxChecker is already registered or the
registration operation is not supported
public org.apache.directory.shared.ldap.schema.SyntaxChecker lookup(java.lang.String oid)
throws javax.naming.NamingException
SyntaxCheckerRegistry
lookup in interface SyntaxCheckerRegistryoid - the object identifier
javax.naming.NamingException - if there is a backing store failure or the
SyntaxChecker does not exist.public boolean hasSyntaxChecker(java.lang.String oid)
SyntaxCheckerRegistry
hasSyntaxChecker in interface SyntaxCheckerRegistryoid - the object identifier
public java.lang.String getSchemaName(java.lang.String oid)
throws javax.naming.NamingException
SyntaxCheckerRegistry
getSchemaName in interface SyntaxCheckerRegistryoid - 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 | |||||||||