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

java.lang.Object
  extended byorg.apache.directory.server.core.schema.DITContentRuleRegistryMonitorAdapter
All Implemented Interfaces:
DITContentRuleRegistryMonitor

public class DITContentRuleRegistryMonitorAdapter
extends java.lang.Object
implements DITContentRuleRegistryMonitor

A simple do nothing monitor adapter for DITContentRuleRegistries. Note for safty exception based callback print the stack tract to stderr.

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

Constructor Summary
DITContentRuleRegistryMonitorAdapter()
           
 
Method Summary
 void lookedUp(DITContentRule dITContentRule)
          Monitors when a Comparator is successfully looked up.
 void lookupFailed(java.lang.String oid, java.lang.Throwable fault)
          Monitors when a lookup attempt fails.
 void registered(DITContentRule dITContentRule)
          Monitors when a DITContentRule is registered successfully.
 void registerFailed(DITContentRule ditContentRule, java.lang.Throwable 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

DITContentRuleRegistryMonitorAdapter

public DITContentRuleRegistryMonitorAdapter()
Method Detail

registered

public void registered(DITContentRule dITContentRule)
Description copied from interface: DITContentRuleRegistryMonitor
Monitors when a DITContentRule is registered successfully.

Specified by:
registered in interface DITContentRuleRegistryMonitor
Parameters:
dITContentRule - the DITContentRule successfully registered

lookedUp

public void lookedUp(DITContentRule dITContentRule)
Description copied from interface: DITContentRuleRegistryMonitor
Monitors when a Comparator is successfully looked up.

Specified by:
lookedUp in interface DITContentRuleRegistryMonitor
Parameters:
dITContentRule - the DITContentRule successfully lookedup

lookupFailed

public void lookupFailed(java.lang.String oid,
                         java.lang.Throwable fault)
Description copied from interface: DITContentRuleRegistryMonitor
Monitors when a lookup attempt fails.

Specified by:
lookupFailed in interface DITContentRuleRegistryMonitor
Parameters:
oid - the OID for the DITContentRule to lookup
fault - the exception to be thrown for the fault

registerFailed

public void registerFailed(DITContentRule ditContentRule,
                           java.lang.Throwable fault)
Description copied from interface: DITContentRuleRegistryMonitor
Monitors when a registration attempt fails.

Specified by:
registerFailed in interface DITContentRuleRegistryMonitor
Parameters:
ditContentRule - the DITContentRule which failed registration
fault - the exception to be thrown for the fault