public interface LocalHostControllerInfo
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
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 |
getRemoteDomainControllerUsername()
Deprecated.
Client side security configuration should be obtained from an AuthenticationContext.
|
boolean |
isBackupDc()
Whether we are acting as a backup DC or not (started with the --backup option)
|
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.
|
boolean |
isUsingCachedDc()
Whether we were started with --cached-dc using a cached copy of the domain model (configuration/domain.cached-remote.xml)
|
String getLocalHostName()
IllegalStateException - if getProcessState() is ControlledProcessState.State.STARTINGboolean isMasterDomainController()
true if the local host controller is the masterIllegalStateException - if getProcessState() is ControlledProcessState.State.STARTINGboolean isBackupDc()
true if we intend to be able to take over as DCboolean isUsingCachedDc()
true if we were started with a cached copy of the domain modelString getNativeManagementInterface()
int getNativeManagementPort()
String getHttpManagementInterface()
int getHttpManagementPort()
String getHttpManagementSecureInterface()
int getHttpManagementSecurePort()
@Deprecated String getRemoteDomainControllerUsername()
List<DiscoveryOption> getRemoteDomainControllerDiscoveryOptions()
boolean isRemoteDomainControllerIgnoreUnaffectedConfiguration()
true if we should ignoreControlledProcessState.State getProcessState()
Copyright © 2019 JBoss by Red Hat. All rights reserved.