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

All Known Implementing Classes:
MatchingRuleRegistryMonitorAdapter

public interface MatchingRuleRegistryMonitor

Monitor interface for a MatchingRuleRegistry.

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

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

Method Detail

registered

public void registered(MatchingRule matchingRule)
Monitors when a MatchingRule is registered successfully.

Parameters:
matchingRule - the MatchingRule registered

lookedUp

public void lookedUp(MatchingRule matchingRule)
Monitors when a MatchingRule is successfully looked up.

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

registerFailed

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

Parameters:
matchingRule - the MatchingRule which failed registration
fault - the exception to be thrown for the fault