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
-
Method Summary
Modifier and TypeMethodDescriptionEstablish the local hostname of the current server.
-
Constructor Details
-
DefaultLocalHostNameProvider
public DefaultLocalHostNameProvider()
-
-
Method Details
-
getLocalHostName
Description copied from interface:LocalHostNameProvider
Establish the local hostname of the current server.- Specified by:
getLocalHostName
in interfaceLocalHostNameProvider
- Returns:
- The local hostname.
-