Package org.forgerock.audit.providers
Class DefaultLocalHostNameProvider
- java.lang.Object
 - 
- org.forgerock.audit.providers.DefaultLocalHostNameProvider
 
 
- 
- All Implemented Interfaces:
 LocalHostNameProvider
public class DefaultLocalHostNameProvider extends Object implements LocalHostNameProvider
Default implementation ofLocalHostNameProviderusingInetAddressto lookup host name of local host. 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultLocalHostNameProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalHostName()Establish the local hostname of the current server. 
 - 
 
- 
- 
Method Detail
- 
getLocalHostName
public String getLocalHostName()
Description copied from interface:LocalHostNameProviderEstablish the local hostname of the current server.- Specified by:
 getLocalHostNamein interfaceLocalHostNameProvider- Returns:
 - The local hostname.
 
 
 - 
 
 -