Package org.forgerock.audit.providers
Class DefaultLocalHostNameProvider
java.lang.Object
org.forgerock.audit.providers.DefaultLocalHostNameProvider
- All Implemented Interfaces:
LocalHostNameProvider
Default implementation of
LocalHostNameProvider using InetAddress to lookup host name of local host.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEstablish the local hostname of the current server.
-
Constructor Details
-
DefaultLocalHostNameProvider
public DefaultLocalHostNameProvider()
-
-
Method Details
-
getLocalHostName
Description copied from interface:LocalHostNameProviderEstablish the local hostname of the current server.- Specified by:
getLocalHostNamein interfaceLocalHostNameProvider- Returns:
- The local hostname.
-