org.apache.directory.server.integ
Interface LdapServerFactory


public interface LdapServerFactory

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 LdapServerFactory DEFAULT
          The default factory returns stock instances of a directory service with smart defaults
 
Method Summary
 LdapService newInstance()
           
 

Field Detail

DEFAULT

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

Method Detail

newInstance

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


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