org.apache.directory.server.core.schema
Interface SyntaxCheckerRegistryMonitor

All Known Implementing Classes:
SyntaxCheckerRegistryMonitorAdapter

public interface SyntaxCheckerRegistryMonitor

Monitor interface for a SyntaxCheckerRegistry.

Version:
$Rev: 434579 $
Author:
Apache Directory Project

Method Summary
 void lookedUp(java.lang.String oid, SyntaxChecker syntaxChecker)
          Monitors when a SyntaxChecker is successfully looked up.
 void lookupFailed(java.lang.String oid, javax.naming.NamingException fault)
          Monitors when a lookup attempt fails.
 void registered(java.lang.String oid, SyntaxChecker syntaxChecker)
          Monitors when a SyntaxChecker is registered successfully.
 void registerFailed(java.lang.String oid, SyntaxChecker syntaxChecker, javax.naming.NamingException fault)
          Monitors when a registration attempt fails.
 

Method Detail

registered

public void registered(java.lang.String oid,
                       SyntaxChecker syntaxChecker)
Monitors when a SyntaxChecker is registered successfully.

Parameters:
oid -
syntaxChecker - the SyntaxChecker registered

lookedUp

public void lookedUp(java.lang.String oid,
                     SyntaxChecker syntaxChecker)
Monitors when a SyntaxChecker is successfully looked up.

Parameters:
oid -
syntaxChecker - the SyntaxChecker looked up

lookupFailed

public void lookupFailed(java.lang.String oid,
                         javax.naming.NamingException fault)
Monitors when a lookup attempt fails.

Parameters:
oid - the OID for the SyntaxChecker to lookup
fault - the exception to be thrown for the fault

registerFailed

public void registerFailed(java.lang.String oid,
                           SyntaxChecker syntaxChecker,
                           javax.naming.NamingException fault)
Monitors when a registration attempt fails.

Parameters:
oid -
syntaxChecker - the SyntaxChecker which failed registration
fault - the exception to be thrown for the fault