org.apache.directory.server.core
Interface DirectoryServiceListener

All Known Implementing Classes:
AbstractContextFactory

public interface DirectoryServiceListener

An event handler that listens to the changes occurs to DirectoryService.

Version:
$Rev: 434579 $, $Date: 2006-08-25 02:19:11 +0200 (Fri, 25 Aug 2006) $
Author:
Apache Directory Project

Method Summary
 void afterShutdown(DirectoryService service)
          Invoked after shutting down DirectoryService.
 void afterStartup(DirectoryService service)
          Invoked after starting up DirectoryService.
 void afterSync(DirectoryService service)
          Invoked after calling DirectoryService.sync().
 void beforeShutdown(DirectoryService service)
          Invoked before shutting down DirectoryService.
 void beforeStartup(DirectoryService service)
          Invoked before starting up DirectoryService.
 void beforeSync(DirectoryService service)
          Invoked before calling DirectoryService.sync().
 

Method Detail

beforeStartup

public void beforeStartup(DirectoryService service)
                   throws javax.naming.NamingException
Invoked before starting up DirectoryService.

Throws:
javax.naming.NamingException

afterStartup

public void afterStartup(DirectoryService service)
                  throws javax.naming.NamingException
Invoked after starting up DirectoryService.

Throws:
javax.naming.NamingException

beforeShutdown

public void beforeShutdown(DirectoryService service)
                    throws javax.naming.NamingException
Invoked before shutting down DirectoryService.

Throws:
javax.naming.NamingException

afterShutdown

public void afterShutdown(DirectoryService service)
                   throws javax.naming.NamingException
Invoked after shutting down DirectoryService.

Throws:
javax.naming.NamingException

beforeSync

public void beforeSync(DirectoryService service)
                throws javax.naming.NamingException
Invoked before calling DirectoryService.sync().

Throws:
javax.naming.NamingException

afterSync

public void afterSync(DirectoryService service)
               throws javax.naming.NamingException
Invoked after calling DirectoryService.sync().

Throws:
javax.naming.NamingException