public class DynamicGroupSearchThread extends DirectoryThread implements InternalSearchListener
DirectoryThread.Factory
Thread.State, Thread.UncaughtExceptionHandler
DIRECTORY_THREAD_GROUP
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DynamicGroupSearchThread(DynamicGroupMemberList memberList,
DN[] baseDNs,
SearchFilter[] filters,
LDAPURL[][] memberURLs)
Creates a new dynamic group search thread that is associated with the
provided member list and that will perform the search using the provided
information.
|
Modifier and Type | Method and Description |
---|---|
void |
handleInternalSearchEntry(InternalSearchOperation searchOperation,
SearchResultEntry searchEntry)
Performs any processing necessary for the provided search result
entry.
|
void |
handleInternalSearchReference(InternalSearchOperation searchOperation,
SearchResultReference searchReference)
Performs any processing necessary for the provided search result
reference.
|
void |
run()
Performs the set of searches and provides the results to the associated
member list.
|
getAssociatedTask, getCreationStackTrace, getDebugProperties, getParentThread, initiateShutdown, isShutdownInitiated, setAssociatedTask, startWork, stopWork
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, yield
public DynamicGroupSearchThread(DynamicGroupMemberList memberList, DN[] baseDNs, SearchFilter[] filters, LDAPURL[][] memberURLs)
memberList
- The dynamic group member list with which this thread is
associated.baseDNs
- The set of base DNs to use for the search requests.filters
- The set of search filters to use for the search
requests.memberURLs
- The set of member URLs to use when determining if
entries match the necessary group criteria.public void run()
public void handleInternalSearchEntry(InternalSearchOperation searchOperation, SearchResultEntry searchEntry) throws DirectoryException
handleInternalSearchEntry
in interface InternalSearchListener
searchOperation
- The internal search operation being
processed.searchEntry
- The matching search result entry to be
processed.DirectoryException
- If a problem occurred while handling
the provided entry. Search
processing will be terminated, and
the search operation will result
will be set based on this exception.public void handleInternalSearchReference(InternalSearchOperation searchOperation, SearchResultReference searchReference)
handleInternalSearchReference
in interface InternalSearchListener
searchOperation
- The internal search operation being
processed.searchReference
- The search result reference to be
processed.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.