public class LocalHostControllerInfoImpl extends Object implements LocalHostControllerInfo
LocalHostControllerInfo
.Constructor and Description |
---|
LocalHostControllerInfoImpl(ControlledProcessState processState,
HostControllerEnvironment hostEnvironment) |
LocalHostControllerInfoImpl(ControlledProcessState processState,
String localHostName)
Constructor solely for test cases
|
Modifier and Type | Method and Description |
---|---|
AdminOnlyDomainConfigPolicy |
getAdminOnlyDomainConfigPolicy() |
List<String> |
getAllowedOrigins() |
String |
getHttpManagementInterface()
Gets the name of the interface on which the host listens for HTTP management requests.
|
int |
getHttpManagementPort()
Gets the name of the port on which the host listens for HTTP management requests.
|
String |
getHttpManagementSecureInterface()
Gets the name of the interface on which the host listens for HTTPS management requests.
|
int |
getHttpManagementSecurePort()
Gets the name of the port on which the host listens for HTTPS management requests.
|
String |
getHttpManagementSecurityRealm()
Gets the name of the security realm to use for for HTTP management requests.
|
String |
getLocalHostName()
Gets the host controller's name.
|
String |
getNativeManagementInterface()
Gets the name of the interface on which the host listens for native management requests.
|
int |
getNativeManagementPort()
Gets the name of the port on which the host listens for native management requests.
|
String |
getNativeManagementSecurityRealm()
Gets the name of the security realm to use for for native management requests.
|
ControlledProcessState.State |
getProcessState()
Gets the current state of the host controller process.
|
List<DiscoveryOption> |
getRemoteDomainControllerDiscoveryOptions()
Gets a list of discovery options that can be used to discover the
remote domain controller.
|
String |
getRemoteDomainControllerSecurityRealm() |
String |
getRemoteDomainControllerUsername()
Gets the username to use when authenticating against the
remote domain controller.
|
boolean |
isBackupDc()
This indicates the process was started with '--backup', or has ignore-unused-configuration=false in host.xml and intends
to maintain a backup of the entire domain configuration, including deployments.
|
boolean |
isMasterDomainController()
Gets whether the local host controllers is acting as the master domain controller.
|
boolean |
isRemoteDomainControllerIgnoreUnaffectedConfiguration()
Gets whether we are set up to automatically ignore configuration from the DC
which does not apply to our servers.
|
public LocalHostControllerInfoImpl(ControlledProcessState processState, String localHostName)
public LocalHostControllerInfoImpl(ControlledProcessState processState, HostControllerEnvironment hostEnvironment)
public String getLocalHostName()
LocalHostControllerInfo
getLocalHostName
in interface LocalHostControllerInfo
public ControlledProcessState.State getProcessState()
LocalHostControllerInfo
getProcessState
in interface LocalHostControllerInfo
public boolean isMasterDomainController()
LocalHostControllerInfo
isMasterDomainController
in interface LocalHostControllerInfo
true
if the local host controller is the masterpublic String getNativeManagementInterface()
LocalHostControllerInfo
getNativeManagementInterface
in interface LocalHostControllerInfo
public int getNativeManagementPort()
LocalHostControllerInfo
getNativeManagementPort
in interface LocalHostControllerInfo
public String getNativeManagementSecurityRealm()
LocalHostControllerInfo
getNativeManagementSecurityRealm
in interface LocalHostControllerInfo
public String getHttpManagementInterface()
LocalHostControllerInfo
getHttpManagementInterface
in interface LocalHostControllerInfo
public int getHttpManagementPort()
LocalHostControllerInfo
getHttpManagementPort
in interface LocalHostControllerInfo
public String getHttpManagementSecureInterface()
LocalHostControllerInfo
getHttpManagementSecureInterface
in interface LocalHostControllerInfo
public int getHttpManagementSecurePort()
LocalHostControllerInfo
getHttpManagementSecurePort
in interface LocalHostControllerInfo
public String getHttpManagementSecurityRealm()
LocalHostControllerInfo
getHttpManagementSecurityRealm
in interface LocalHostControllerInfo
public String getRemoteDomainControllerUsername()
LocalHostControllerInfo
getRemoteDomainControllerUsername
in interface LocalHostControllerInfo
public String getRemoteDomainControllerSecurityRealm()
public List<String> getAllowedOrigins()
getAllowedOrigins
in interface LocalHostControllerInfo
public List<DiscoveryOption> getRemoteDomainControllerDiscoveryOptions()
LocalHostControllerInfo
getRemoteDomainControllerDiscoveryOptions
in interface LocalHostControllerInfo
public boolean isRemoteDomainControllerIgnoreUnaffectedConfiguration()
LocalHostControllerInfo
isRemoteDomainControllerIgnoreUnaffectedConfiguration
in interface LocalHostControllerInfo
true
if we should ignorepublic boolean isBackupDc()
isBackupDc
in interface LocalHostControllerInfo
public AdminOnlyDomainConfigPolicy getAdminOnlyDomainConfigPolicy()
Copyright © 2023 JBoss by Red Hat. All rights reserved.