T
- The type of object handled by this class.@Extensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ObjectSearchListener<T>
LDAPPersister
class in the course of performing a
search.Modifier and Type | Method and Description |
---|---|
void |
objectReturned(T o)
Indicates that the provided object was created from an entry retrieved from
the directory server in the course of processing the search operation.
|
void |
searchReferenceReturned(SearchResultReference searchReference)
Indicates that the provided search result reference was retrieved from the
directory server in the course of processing the search operation.
|
void |
unparsableEntryReturned(SearchResultEntry entry,
LDAPPersistException exception)
Indicates that the provided entry was retrieved from the director server
in the course of processing the search operation, but an error occurred
while attempting to instantiate an object from it.
|
void objectReturned(@NotNull T o)
o
- The object that has been decoded from the entry that was
returned. It will never be null
.void unparsableEntryReturned(@NotNull SearchResultEntry entry, @NotNull LDAPPersistException exception)
entry
- The entry that was retrieved from the directory server
but could not be decoded as an object.exception
- The exception that was encountered while trying to
create and initialize an object from the provided entry.void searchReferenceReturned(@NotNull SearchResultReference searchReference)
searchReference
- The search result reference that has been
retrieved from the server.