Interface EnvironmentNameReader
-
public interface EnvironmentNameReaderFor use configuring the host name of the syslog audit log handler- Author:
- Kabir Khan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHostName()Get the name of the host controller in the domain if it is a host controller or a domain mode server as given in @coHostControllerEnvironment.getHostControllerName()orServerEnvironment.getHostControllerName()respectively.StringgetProductName()Get the name of the product to be used as the audit logger's app name.StringgetServerName()Get the name of the server if it is a server as given inServerEnvironment.getServerName()booleanisServer()Whether this is a server
-
-
-
Method Detail
-
isServer
boolean isServer()
Whether this is a server- Returns:
trueif a server,falseif we are a host controller
-
getServerName
String getServerName()
Get the name of the server if it is a server as given inServerEnvironment.getServerName()- Returns:
- the name of the server
-
getHostName
String getHostName()
Get the name of the host controller in the domain if it is a host controller or a domain mode server as given in @coHostControllerEnvironment.getHostControllerName()orServerEnvironment.getHostControllerName()respectively.- Returns:
- the name of the server
-
getProductName
String getProductName()
Get the name of the product to be used as the audit logger's app name.- Returns:
- the product name, or
nullif this is not a product.
-
-