public class DefaultDirectoryServiceFactory extends Object implements DirectoryServiceFactory
Modifier and Type | Field and Description |
---|---|
static DirectoryServiceFactory |
DEFAULT
The default factory returns stock instances of a directory
service with smart defaults
|
Modifier and Type | Method and Description |
---|---|
DirectoryService |
getDirectoryService()
Gets the directory service.
|
PartitionFactory |
getPartitionFactory()
Gets the partition factory.
|
void |
init(String name)
Inits the directory service factory.
|
public static final DirectoryServiceFactory DEFAULT
public void init(String name) throws Exception
init
in interface DirectoryServiceFactory
name
- the nameException
public DirectoryService getDirectoryService() throws Exception
getDirectoryService
in interface DirectoryServiceFactory
Exception
public PartitionFactory getPartitionFactory() throws Exception
getPartitionFactory
in interface DirectoryServiceFactory
Exception
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.