|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.configuration.ApacheDS
public class ApacheDS
Apache Directory Server top level.
Constructor Summary | |
---|---|
ApacheDS(DirectoryService directoryService,
LdapService ldapService,
LdapService ldapsService)
Creates a new instance of the ApacheDS server |
Method Summary | |
---|---|
DirectoryService |
getDirectoryService()
|
LdapService |
getLdapService()
|
LdapService |
getLdapsService()
|
java.io.File |
getLdifDirectory()
Get the directory where |
long |
getSynchPeriodMillis()
|
boolean |
isStarted()
|
void |
loadLdifs()
Load the ldif files if there are some |
void |
setAllowAnonymousAccess(boolean allowAnonymousAccess)
|
void |
setLdifDirectory(java.io.File ldifDirectory)
|
void |
setSynchPeriodMillis(long synchPeriodMillis)
|
void |
shutdown()
|
void |
startup()
Start the server : initialize the DirectoryService start the LDAP server start the LDAPS server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApacheDS(DirectoryService directoryService, LdapService ldapService, LdapService ldapsService)
directoryService
- ldapService
- ldapsService
- Method Detail |
---|
public void startup() throws java.lang.Exception
NamingException
- If the server cannot be started
java.io.IOException
- If an IO error occured while reading some file
java.lang.Exception
public boolean isStarted()
public void shutdown() throws java.lang.Exception
java.lang.Exception
public LdapService getLdapService()
public LdapService getLdapsService()
public DirectoryService getDirectoryService()
public long getSynchPeriodMillis()
public void setSynchPeriodMillis(long synchPeriodMillis)
public java.io.File getLdifDirectory()
public void setAllowAnonymousAccess(boolean allowAnonymousAccess)
public void setLdifDirectory(java.io.File ldifDirectory)
public void loadLdifs() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |