Package com.unboundid.ldap.sdk
Class DefaultNameResolver
java.lang.Object
com.unboundid.ldap.sdk.NameResolver
com.unboundid.ldap.sdk.DefaultNameResolver
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class DefaultNameResolver
extends NameResolver
This class provides a default implementation of a
NameResolver that
simply uses the JVM-default name resolution functionality.-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultNameResolverRetrieves the singleton instance of this default name resolver.voidtoString(StringBuilder buffer) Appends a string representation of this name resolver to the provided buffer.Methods inherited from class com.unboundid.ldap.sdk.NameResolver
getAllByName, getByName, getCanonicalHostName, getHostName, getLocalHost, getLoopbackAddress, setJVMSuccessfulLookupCacheTTLSeconds, setJVMUnsuccessfulLookupCacheTTLSeconds, toString
-
Method Details
-
getInstance
Retrieves the singleton instance of this default name resolver.- Returns:
- The singleton instance of this default name resolver.
-
toString
Appends a string representation of this name resolver to the provided buffer.- Specified by:
toStringin classNameResolver- Parameters:
buffer- A buffer to which the string representation should be appended.
-