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

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

public class SyntaxCheckerRegistryMonitorAdapter
extends java.lang.Object
implements SyntaxCheckerRegistryMonitor

An adapter for the SyntaxCheckerRegistry's monitor.

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

Constructor Summary
SyntaxCheckerRegistryMonitorAdapter()
           
 
Method Summary
 void lookedUp(java.lang.String oid, org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker)
          Monitors when a SyntaxChecker is successfully looked up.
 void lookupFailed(java.lang.String oid, javax.naming.NamingException fault)
          Monitors when a lookup attempt fails.
 void registered(java.lang.String oid, org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker)
          Monitors when a SyntaxChecker is registered successfully.
 void registerFailed(java.lang.String oid, org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker, 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

SyntaxCheckerRegistryMonitorAdapter

public SyntaxCheckerRegistryMonitorAdapter()
Method Detail

registered

public void registered(java.lang.String oid,
                       org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker)
Description copied from interface: SyntaxCheckerRegistryMonitor
Monitors when a SyntaxChecker is registered successfully.

Specified by:
registered in interface SyntaxCheckerRegistryMonitor
syntaxChecker - the SyntaxChecker registered

lookedUp

public void lookedUp(java.lang.String oid,
                     org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker)
Description copied from interface: SyntaxCheckerRegistryMonitor
Monitors when a SyntaxChecker is successfully looked up.

Specified by:
lookedUp in interface SyntaxCheckerRegistryMonitor
syntaxChecker - the SyntaxChecker looked up

lookupFailed

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

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

registerFailed

public void registerFailed(java.lang.String oid,
                           org.apache.directory.shared.ldap.schema.SyntaxChecker syntaxChecker,
                           javax.naming.NamingException fault)
Description copied from interface: SyntaxCheckerRegistryMonitor
Monitors when a registration attempt fails.

Specified by:
registerFailed in interface SyntaxCheckerRegistryMonitor
syntaxChecker - the SyntaxChecker which failed registration
fault - the exception to be thrown for the fault


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