org.apache.directory.server.core.schema
Interface SyntaxRegistryMonitor

All Known Implementing Classes:
SyntaxRegistryMonitorAdapter

public interface SyntaxRegistryMonitor

Monitor interface for a SyntaxRegistry.

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

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.
 

Method Detail

registered

void registered(org.apache.directory.shared.ldap.schema.Syntax syntax)
Monitors when a Syntax is registered successfully.

Parameters:
syntax - the Syntax registered

lookedUp

void lookedUp(org.apache.directory.shared.ldap.schema.Syntax syntax)
Monitors when a Syntax is successfully looked up.

Parameters:
syntax - the Syntax looked up

lookupFailed

void lookupFailed(java.lang.String oid,
                  javax.naming.NamingException fault)
Monitors when a lookup attempt fails.

Parameters:
oid - the OID for the Syntax to lookup
fault - the exception to be thrown for the fault

registerFailed

void registerFailed(org.apache.directory.shared.ldap.schema.Syntax syntax,
                    javax.naming.NamingException fault)
Monitors when a registration attempt fails.

Parameters:
syntax - the Syntax which failed registration
fault - the exception to be thrown for the fault


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