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 aNameResolver
that simply uses the JVM-default name resolution functionality.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultNameResolver
getInstance()
Retrieves the singleton instance of this default name resolver.void
toString(java.lang.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 Detail
-
getInstance
public static DefaultNameResolver getInstance()
Retrieves the singleton instance of this default name resolver.- Returns:
- The singleton instance of this default name resolver.
-
toString
public void toString(java.lang.StringBuilder buffer)
Appends a string representation of this name resolver to the provided buffer.- Specified by:
toString
in classNameResolver
- Parameters:
buffer
- A buffer to which the string representation should be appended.
-
-