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() |
org.jboss.msc.service.ServiceName |
getAuthenticationContext() |
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 |
getRemoteDomainControllerSecurityRealm()
Deprecated.
Client side security configuration should be obtained from an AuthenticationContext.
|
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.
|
boolean |
isUsingCachedDc()
Whether we were started with --cached-dc using a cached copy of the domain model (configuration/domain.cached-remote.xml)
|
public LocalHostControllerInfoImpl(ControlledProcessState processState, String localHostName)
public LocalHostControllerInfoImpl(ControlledProcessState processState, HostControllerEnvironment hostEnvironment)
public String getLocalHostName()
LocalHostControllerInfogetLocalHostName in interface LocalHostControllerInfopublic ControlledProcessState.State getProcessState()
LocalHostControllerInfogetProcessState in interface LocalHostControllerInfopublic boolean isMasterDomainController()
LocalHostControllerInfoisMasterDomainController in interface LocalHostControllerInfotrue if the local host controller is the masterpublic org.jboss.msc.service.ServiceName getAuthenticationContext()
public String getNativeManagementInterface()
LocalHostControllerInfogetNativeManagementInterface in interface LocalHostControllerInfopublic int getNativeManagementPort()
LocalHostControllerInfogetNativeManagementPort in interface LocalHostControllerInfopublic String getHttpManagementInterface()
LocalHostControllerInfogetHttpManagementInterface in interface LocalHostControllerInfopublic int getHttpManagementPort()
LocalHostControllerInfogetHttpManagementPort in interface LocalHostControllerInfopublic String getHttpManagementSecureInterface()
LocalHostControllerInfogetHttpManagementSecureInterface in interface LocalHostControllerInfopublic int getHttpManagementSecurePort()
LocalHostControllerInfogetHttpManagementSecurePort in interface LocalHostControllerInfopublic String getRemoteDomainControllerUsername()
LocalHostControllerInfogetRemoteDomainControllerUsername in interface LocalHostControllerInfo@Deprecated public String getRemoteDomainControllerSecurityRealm()
public List<DiscoveryOption> getRemoteDomainControllerDiscoveryOptions()
LocalHostControllerInfogetRemoteDomainControllerDiscoveryOptions in interface LocalHostControllerInfopublic boolean isRemoteDomainControllerIgnoreUnaffectedConfiguration()
LocalHostControllerInfoisRemoteDomainControllerIgnoreUnaffectedConfiguration in interface LocalHostControllerInfotrue if we should ignorepublic boolean isBackupDc()
isBackupDc in interface LocalHostControllerInfopublic boolean isUsingCachedDc()
LocalHostControllerInfoisUsingCachedDc in interface LocalHostControllerInfotrue if we were started with a cached copy of the domain modelpublic AdminOnlyDomainConfigPolicy getAdminOnlyDomainConfigPolicy()
Copyright © 2018 JBoss by Red Hat. All rights reserved.