|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.iiit.ldap.LdapConnectionManager
Manages connection to one or many LDAP servers.
Constructor Summary | |
LdapConnectionManager(Vector serverConfig,
int masterServerNumber,
int refreshIntervall)
Creates a new instance of LdapConnectionManager |
Method Summary | |
LdapContext |
getContext()
Get a javax.naming.ldap.LdapContext |
void |
shutdown()
Stop the refresher thread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LdapConnectionManager(Vector serverConfig, int masterServerNumber, int refreshIntervall)
serverConfig
- a Vector of ConfigurationsmasterServerNumber
- the index of the LDAP server with write access in the ServerConfig VectorrefreshIntervall
- If a connection to a server crashes a reconnect will be tried after this period
of timeMethod Detail |
public void shutdown()
public LdapContext getContext()
|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |