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

All Known Implementing Classes:
MatchingRuleUseRegistryMonitorAdapter

public interface MatchingRuleUseRegistryMonitor

Interface for MatchingRuleUseRegitery callback event monitors.

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

Method Summary
 void lookedUp(MatchingRuleUse matchingRuleUse)
          Monitors when a Comparator is successfully looked up.
 void lookupFailed(java.lang.String name, java.lang.Throwable fault)
          Monitors when a lookup attempt fails.
 void registered(MatchingRuleUse matchingRuleUse)
          Monitors when a MatchingRuleUse is registered successfully.
 void registerFailed(MatchingRuleUse matchingRuleUse, java.lang.Throwable fault)
          Monitors when a registration attempt fails.
 

Method Detail

registered

public void registered(MatchingRuleUse matchingRuleUse)
Monitors when a MatchingRuleUse is registered successfully.

Parameters:
matchingRuleUse - the MatchingRuleUse successfully registered

lookedUp

public void lookedUp(MatchingRuleUse matchingRuleUse)
Monitors when a Comparator is successfully looked up.

Parameters:
matchingRuleUse - the MatchingRuleUse successfully lookedup

lookupFailed

public void lookupFailed(java.lang.String name,
                         java.lang.Throwable fault)
Monitors when a lookup attempt fails.

Parameters:
name - the name of the matchingRuleUse
fault - the exception to be thrown for the fault

registerFailed

public void registerFailed(MatchingRuleUse matchingRuleUse,
                           java.lang.Throwable fault)
Monitors when a registration attempt fails.

Parameters:
matchingRuleUse - the MatchingRuleUse which failed registration
fault - the exception to be thrown for the fault