|
||||||||||
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.BootstrapSyntaxCheckerRegistry
public class BootstrapSyntaxCheckerRegistry
The POJO implementation for the SyntaxCheckerRegistry service.
Constructor Summary | |
---|---|
BootstrapSyntaxCheckerRegistry()
Creates an instance of a BootstrapSyntaxRegistry. |
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. |
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,
SyntaxChecker syntaxChecker)
Registers a SyntaxChecker with this registry. |
void |
setMonitor(SyntaxCheckerRegistryMonitor 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 BootstrapSyntaxCheckerRegistry()
Method Detail |
---|
public void setMonitor(SyntaxCheckerRegistryMonitor monitor)
monitor
- the monitor to recieve callback eventspublic void register(java.lang.String schema, java.lang.String oid, SyntaxChecker syntaxChecker) throws javax.naming.NamingException
SyntaxCheckerRegistry
register
in interface SyntaxCheckerRegistry
schema
- 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 supportedpublic SyntaxChecker lookup(java.lang.String oid) throws javax.naming.NamingException
SyntaxCheckerRegistry
lookup
in interface SyntaxCheckerRegistry
oid
- 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 SyntaxCheckerRegistry
oid
- the object identifier
public java.lang.String getSchemaName(java.lang.String oid) throws javax.naming.NamingException
SyntaxCheckerRegistry
getSchemaName
in interface SyntaxCheckerRegistry
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 |