org.apache.directory.server.core.schema
Class MatchingRuleRegistryMonitorAdapter

java.lang.Object
  extended byorg.apache.directory.server.core.schema.MatchingRuleRegistryMonitorAdapter
All Implemented Interfaces:
MatchingRuleRegistryMonitor

public class MatchingRuleRegistryMonitorAdapter
extends java.lang.Object
implements MatchingRuleRegistryMonitor

An adapter for a MatchingRuleRegistryMonitor.

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

Constructor Summary
MatchingRuleRegistryMonitorAdapter()
           
 
Method Summary
 void lookedUp(MatchingRule rule)
          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 rule)
          Monitors when a MatchingRule is registered successfully.
 void registerFailed(MatchingRule rule, javax.naming.NamingException fault)
          Monitors when a registration attempt fails.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchingRuleRegistryMonitorAdapter

public MatchingRuleRegistryMonitorAdapter()
Method Detail

registered

public void registered(MatchingRule rule)
Description copied from interface: MatchingRuleRegistryMonitor
Monitors when a MatchingRule is registered successfully.

Specified by:
registered in interface MatchingRuleRegistryMonitor
Parameters:
rule - the MatchingRule registered
See Also:
org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registered( org.apache.directory.shared.ldap.schema.MatchingRule)

lookedUp

public void lookedUp(MatchingRule rule)
Description copied from interface: MatchingRuleRegistryMonitor
Monitors when a MatchingRule is successfully looked up.

Specified by:
lookedUp in interface MatchingRuleRegistryMonitor
Parameters:
rule - the MatchingRule looked up
See Also:
org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#lookedUp( org.apache.directory.shared.ldap.schema.MatchingRule)

lookupFailed

public void lookupFailed(java.lang.String oid,
                         javax.naming.NamingException fault)
Description copied from interface: MatchingRuleRegistryMonitor
Monitors when a lookup attempt fails.

Specified by:
lookupFailed in interface MatchingRuleRegistryMonitor
Parameters:
oid - the OID for the MatchingRule to lookup
fault - the exception to be thrown for the fault
See Also:
MatchingRuleRegistryMonitor.lookupFailed( java.lang.String, javax.naming.NamingException)

registerFailed

public void registerFailed(MatchingRule rule,
                           javax.naming.NamingException fault)
Description copied from interface: MatchingRuleRegistryMonitor
Monitors when a registration attempt fails.

Specified by:
registerFailed in interface MatchingRuleRegistryMonitor
Parameters:
rule - the MatchingRule which failed registration
fault - the exception to be thrown for the fault
See Also:
org.apache.directory.server.core.schema.MatchingRuleRegistryMonitor#registerFailed( org.apache.directory.shared.ldap.schema.MatchingRule, javax.naming.NamingException)