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

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

public class SyntaxRegistryMonitorAdapter
extends java.lang.Object
implements SyntaxRegistryMonitor

An adapter for the SyntaxRegistry's monitor.

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

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

SyntaxRegistryMonitorAdapter

public SyntaxRegistryMonitorAdapter()
Method Detail

registered

public void registered(org.apache.directory.shared.ldap.schema.Syntax syntax)
Description copied from interface: SyntaxRegistryMonitor
Monitors when a Syntax is registered successfully.

Specified by:
registered in interface SyntaxRegistryMonitor
Parameters:
syntax - the Syntax registered

lookedUp

public void lookedUp(org.apache.directory.shared.ldap.schema.Syntax syntax)
Description copied from interface: SyntaxRegistryMonitor
Monitors when a Syntax is successfully looked up.

Specified by:
lookedUp in interface SyntaxRegistryMonitor
Parameters:
syntax - the Syntax looked up

lookupFailed

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

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

registerFailed

public void registerFailed(org.apache.directory.shared.ldap.schema.Syntax syntax,
                           javax.naming.NamingException fault)
Description copied from interface: SyntaxRegistryMonitor
Monitors when a registration attempt fails.

Specified by:
registerFailed in interface SyntaxRegistryMonitor
Parameters:
syntax - the Syntax which failed registration
fault - the exception to be thrown for the fault


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