no.feide.moria.directory.backend
Interface DirectoryManagerBackendFactory

All Known Implementing Classes:
DummyBackendFactory, JNDIBackendFactory

public interface DirectoryManagerBackendFactory

The interface to the backend factory.


Method Summary
 DirectoryManagerBackend createBackend(java.lang.String sessionTicket)
          Creates a new instance of a proper directory manager backend.
 void setConfig(org.jdom.Element config)
          Sets the backend factory configuration.
 

Method Detail

setConfig

void setConfig(org.jdom.Element config)
Sets the backend factory configuration. Must be called before createBackend() is used.

Parameters:
config - The backend configuration. See details for the actual backend implementation used.

createBackend

DirectoryManagerBackend createBackend(java.lang.String sessionTicket)
Creates a new instance of a proper directory manager backend.

Parameters:
sessionTicket - The session ticket belonging to instances of DirectoryManagerBackend. Used when logging. The actual implementation of DirectoryManagerBackend may choose to ignore this value, if logging is not an issue. May be null or an empty string.
Returns:
A new instance of the backend, tied to the proper reference.


Copyright © 2001-2006 UNINETT FAS. All Rights Reserved.