public class DirectoryConnector
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
boolean |
exceptionOccured()
Determines whether an exception has occurred while trying to
connect to the Directory.
|
javax.naming.NamingException |
getException()
Returns the exception thrown during the most recent attempt to
connect to the Directory.
|
java.lang.String |
getExceptionMessage() |
javax.naming.directory.InitialDirContext |
getInitialDirContext()
Returns an instance of
InitialDirContext. |
java.lang.String |
getLdapVersion()
Returns the LDAP version.
|
void |
run()
Tries to set up a Directory connection.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic javax.naming.directory.InitialDirContext getInitialDirContext()
InitialDirContext.public java.lang.String getLdapVersion()
public boolean exceptionOccured()
public java.lang.String getExceptionMessage()
public javax.naming.NamingException getException()