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

All Known Implementing Classes:
SyntaxRegistryMonitorAdapter

public interface SyntaxRegistryMonitor

Monitor interface for a SyntaxRegistry.

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

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

Method Detail

registered

public void registered(Syntax syntax)
Monitors when a Syntax is registered successfully.

Parameters:
syntax - the Syntax registered

lookedUp

public void lookedUp(Syntax syntax)
Monitors when a Syntax is successfully looked up.

Parameters:
syntax - the Syntax 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 Syntax to lookup
fault - the exception to be thrown for the fault

registerFailed

public void registerFailed(Syntax syntax,
                           javax.naming.NamingException fault)
Monitors when a registration attempt fails.

Parameters:
syntax - the Syntax which failed registration
fault - the exception to be thrown for the fault