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

java.lang.Object
  extended by org.apache.directory.server.core.schema.DITStructureRuleRegistryMonitorAdapter
All Implemented Interfaces:
DITStructureRuleRegistryMonitor

public class DITStructureRuleRegistryMonitorAdapter
extends java.lang.Object
implements DITStructureRuleRegistryMonitor

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

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

Constructor Summary
DITStructureRuleRegistryMonitorAdapter()
           
 
Method Summary
 void lookedUp(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
          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(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
          Monitors when a DITStructureRule is registered successfully.
 void registerFailed(org.apache.directory.shared.ldap.schema.DITStructureRule ditStructureRule, 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

DITStructureRuleRegistryMonitorAdapter

public DITStructureRuleRegistryMonitorAdapter()
Method Detail

registered

public void registered(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
Description copied from interface: DITStructureRuleRegistryMonitor
Monitors when a DITStructureRule is registered successfully.

Specified by:
registered in interface DITStructureRuleRegistryMonitor
Parameters:
dITStructureRule - the DITStructureRule successfully registered

lookedUp

public void lookedUp(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
Description copied from interface: DITStructureRuleRegistryMonitor
Monitors when a Comparator is successfully looked up.

Specified by:
lookedUp in interface DITStructureRuleRegistryMonitor
Parameters:
dITStructureRule - the DITStructureRule successfully lookedup

lookupFailed

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

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

registerFailed

public void registerFailed(org.apache.directory.shared.ldap.schema.DITStructureRule ditStructureRule,
                           java.lang.Throwable fault)
Description copied from interface: DITStructureRuleRegistryMonitor
Monitors when a registration attempt fails.

Specified by:
registerFailed in interface DITStructureRuleRegistryMonitor
Parameters:
ditStructureRule - the DITStructureRule which failed registration
fault - the exception to be thrown for the fault


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.