org.apache.directory.shared.ldap.message.spi
Interface ProviderMonitor


public interface ProviderMonitor

A Provider monitor's callback interface.

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

Field Summary
static ProviderMonitor NOOP_MONITOR
          A do nothing monitor to use if none is provided
 
Method Summary
 void propsFound(java.lang.String msg, java.util.Properties props)
          Callback used to monitor the discovered properties for the provider.
 void usingDefaults(java.lang.String msg, java.util.Properties props)
          Callback used to monitor if and what set of defaults are being used.
 

Field Detail

NOOP_MONITOR

public static final ProviderMonitor NOOP_MONITOR
A do nothing monitor to use if none is provided

Method Detail

propsFound

public void propsFound(java.lang.String msg,
                       java.util.Properties props)
Callback used to monitor the discovered properties for the provider.

Parameters:
msg - a message about where the properties were found or null
props - the properties discovered

usingDefaults

public void usingDefaults(java.lang.String msg,
                          java.util.Properties props)
Callback used to monitor if and what set of defaults are being used.

Parameters:
msg - a descriptive message about this event or null
props - the properties that constitute the defaults


Copyright © 2003-2006 . All Rights Reserved.