public interface EnvironmentNameReader
Modifier and Type | Method and Description |
---|---|
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 @co
HostControllerEnvironment.getHostControllerName()
or ServerEnvironment.getHostControllerName() respectively. |
String |
getProductName()
Get the name of the product to be used as the audit logger's app name.
|
String |
getServerName()
Get the name of the server if it is a server as given in
ServerEnvironment.getServerName() |
boolean |
isServer()
Whether this is a server
|
boolean isServer()
true
if a server, false
if we are a host controllerString getServerName()
ServerEnvironment.getServerName()
String getHostName()
HostControllerEnvironment.getHostControllerName()
or ServerEnvironment.getHostControllerName()
respectively.String getProductName()
null
if this is not a product.Copyright © 2023 JBoss by Red Hat. All rights reserved.