org.apache.directory.server.core
Interface DirectoryServiceListener

All Known Implementing Classes:
AbstractContextFactory, CoreContextFactory, ServerContextFactory

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

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

Throws:
javax.naming.NamingException

afterStartup

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

Throws:
javax.naming.NamingException

beforeShutdown

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

Throws:
javax.naming.NamingException

afterShutdown

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

Throws:
javax.naming.NamingException

beforeSync

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

Throws:
javax.naming.NamingException

afterSync

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

Throws:
javax.naming.NamingException


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