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

All Known Implementing Classes:
AttributeTypeRegistryMonitorAdapter

public interface AttributeTypeRegistryMonitor

Interface for AttributeTypeRegitery callback event monitors.

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

Method Summary
 void lookedUp(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
          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.AttributeType attributeType)
          Monitors when a AttributeType is registered successfully.
 void registerFailed(org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.Throwable fault)
          Monitors when a registration attempt fails.
 

Method Detail

registered

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

Parameters:
attributeType - the AttributeType successfully registered

lookedUp

void lookedUp(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
Monitors when a Comparator is successfully looked up.

Parameters:
attributeType - the AttributeType successfully lookedup

lookupFailed

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

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

registerFailed

void registerFailed(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
                    java.lang.Throwable fault)
Monitors when a registration attempt fails.

Parameters:
attributeType - the AttributeType which failed registration
fault - the exception to be thrown for the fault


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