|
||||||||||
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(LdapServer ldapServer)
Creates a new instance of the ApacheDS server |
Method Summary | |
---|---|
DirectoryService |
getDirectoryService()
|
LdapServer |
getLdapServer()
|
java.io.File |
getLdifDirectory()
Get the directory where |
long |
getSynchPeriodMillis()
|
boolean |
isStarted()
|
void |
loadLdifs()
Load the ldif files if there are some |
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(LdapServer ldapServer) throws java.lang.Exception
directoryService
- ldapServer
-
java.lang.Exception
Method Detail |
---|
public void startup() throws java.lang.Exception
javax.naming.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 LdapServer getLdapServer()
public DirectoryService getDirectoryService()
public long getSynchPeriodMillis()
public void setSynchPeriodMillis(long synchPeriodMillis)
public java.io.File getLdifDirectory()
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 |