org.apache.directory.server.core.integ
Interface DirectoryServiceFactory


public interface DirectoryServiceFactory

A factory used to generate differently configured DirectoryService objects. Since the DirectoryService itself is what is configured then a factory for these objects acts as a configurator. Tests can provide different factory methods to be used.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
static DirectoryServiceFactory DEFAULT
          The default factory returns stock instances of a directory service with smart defaults
 
Method Summary
 DirectoryService newInstance()
           
 

Field Detail

DEFAULT

static final DirectoryServiceFactory DEFAULT
The default factory returns stock instances of a directory service with smart defaults

Method Detail

newInstance

DirectoryService newInstance()
                             throws java.lang.Exception
Throws:
java.lang.Exception


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