com.unboundid.directory.sdk.ds.api
Class BackendInitializationListener

java.lang.Object
  extended by com.unboundid.directory.sdk.ds.api.BackendInitializationListener

@Extensible
@DirectoryServerExtension
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class BackendInitializationListener
extends java.lang.Object

This interface defines a set of methods that may be used by extensions to perform any processing that they might find necessary whenever a backend is initialized and/or finalized.


Constructor Summary
BackendInitializationListener()
           
 
Method Summary
abstract  void backendFinalized(BackendContext backendContext)
          Performs any processing that may be required whenever a backend is de-registered from the Directory Server.
abstract  void backendInitialized(BackendContext backendContext)
          Performs any processing that may be required whenever a backend has been registered for use in the Directory Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackendInitializationListener

public BackendInitializationListener()
Method Detail

backendInitialized

public abstract void backendInitialized(BackendContext backendContext)
Performs any processing that may be required whenever a backend has been registered for use in the Directory Server. This method will be invoked after the backend has been initialized and put into service.

Parameters:
backendContext - The backend that has been initialized and put into service.

backendFinalized

public abstract void backendFinalized(BackendContext backendContext)
Performs any processing that may be required whenever a backend is de-registered from the Directory Server. This method will be invoked before the backend has been taken out of service.

Parameters:
backendContext - The backend that is about to be taken out of service.