|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.directory.server.ApacheDsService
public class ApacheDsService
A class used to start various servers in a given InstanceLayout.
| Constructor Summary | |
|---|---|
ApacheDsService()
|
|
| Method Summary | |
|---|---|
org.apache.directory.server.core.api.DirectoryService |
getDirectoryService()
|
static void |
printBanner(String bannerConstant)
Print the banner for a server |
void |
start(org.apache.directory.server.core.api.InstanceLayout instanceLayout)
starts various services configured according to the configuration present in the given instance's layout |
void |
stop()
|
void |
synch()
|
void |
updateMandatoryOpAttributes(org.apache.directory.server.core.api.partition.Partition partition,
org.apache.directory.server.core.api.DirectoryService dirService)
adds mandatory operational attributes MANDATORY_ENTRY_ATOP_MAP and updates all the LDIF files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApacheDsService()
| Method Detail |
|---|
public void start(org.apache.directory.server.core.api.InstanceLayout instanceLayout)
throws Exception
instanceLayout - the on disk location's layout of the intance to be started
Exceptionpublic org.apache.directory.server.core.api.DirectoryService getDirectoryService()
public void synch()
throws Exception
Exception
public void stop()
throws Exception
Exceptionpublic static void printBanner(String bannerConstant)
public void updateMandatoryOpAttributes(org.apache.directory.server.core.api.partition.Partition partition,
org.apache.directory.server.core.api.DirectoryService dirService)
throws Exception
MANDATORY_ENTRY_ATOP_MAP and updates all the LDIF files.
WARN: this method is only called for the first time when schema and config files are bootstrapped
afterwards it is the responsibility of the user to ensure correctness of LDIF files if modified
by hand
Note: we do these modifications explicitly cause we have no idea if each entry's LDIF file has the
correct values for all these mandatory attributes
partition - instance of the partition Note: should only be those which are loaded before starting the DirectoryServicedirService - the DirectoryService instance
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||