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

All Known Implementing Classes:
OidRegistryMonitorAdapter

public interface OidRegistryMonitor

Monitor used to track notable OidRegistry events.

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

Method Summary
 void getOidWithOid(java.lang.String oid)
          Monitors situations where an OID is used to resolve an OID.
 void nameResolved(java.lang.String oid, java.lang.String primaryName)
          Monitors situations where a primary name is resolved for a OID.
 void namesResolved(java.lang.String oid, java.util.List names)
          Monitors situations where a names are resolved for a OID.
 void oidDoesNotExist(java.lang.String oid, javax.naming.NamingException fault)
          Monitors when a name lookups fail due to the use of an unknown OID.
 void oidResolutionFailed(java.lang.String name, javax.naming.NamingException fault)
          Monitors when resolution of an OID by name fails.
 void oidResolved(java.lang.String name, java.lang.String oid)
          Monitors when an OID is resolved successfully for a name.
 void oidResolved(java.lang.String name, java.lang.String normalized, java.lang.String oid)
          Monitors when an OID is resolved successfully by using a normalized form of the name.
 void registered(java.lang.String name, java.lang.String oid)
          Monitors the successful registration of a name for an OID.
 

Method Detail

getOidWithOid

void getOidWithOid(java.lang.String oid)
Monitors situations where an OID is used to resolve an OID. The caller does not know that the argument is the same as the return value.

Parameters:
oid - the OID argument and return value

oidResolved

void oidResolved(java.lang.String name,
                 java.lang.String oid)
Monitors when an OID is resolved successfully for a name.

Parameters:
name - the name used to lookup an OID
oid - the OID returned for the name

oidResolved

void oidResolved(java.lang.String name,
                 java.lang.String normalized,
                 java.lang.String oid)
Monitors when an OID is resolved successfully by using a normalized form of the name.

Parameters:
name - the name used to lookup an OID
normalized - the normalized name that mapped to the OID
oid - the OID returned for the name

oidResolutionFailed

void oidResolutionFailed(java.lang.String name,
                         javax.naming.NamingException fault)
Monitors when resolution of an OID by name fails.

Parameters:
name - the name used to lookup an OID
fault - the exception thrown for the failure after this call

oidDoesNotExist

void oidDoesNotExist(java.lang.String oid,
                     javax.naming.NamingException fault)
Monitors when a name lookups fail due to the use of an unknown OID.

Parameters:
oid - the OID used to lookup object names
fault - the exception thrown for the failure after this call

nameResolved

void nameResolved(java.lang.String oid,
                  java.lang.String primaryName)
Monitors situations where a primary name is resolved for a OID.

Parameters:
oid - the OID used for the lookup
primaryName - the primary name found for the OID

namesResolved

void namesResolved(java.lang.String oid,
                   java.util.List names)
Monitors situations where a names are resolved for a OID.

Parameters:
oid - the OID used for the lookup
names - the names found for the OID

registered

void registered(java.lang.String name,
                java.lang.String oid)
Monitors the successful registration of a name for an OID.

Parameters:
name - the one of many names registered with an OID
oid - the OID to be associated with the name


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