public class StaticDiscovery extends Object implements DiscoveryOption
Constructor and Description |
---|
StaticDiscovery(String protocol,
String host,
int port)
Creates an initialized static discovery config instance.
|
Modifier and Type | Method and Description |
---|---|
void |
allowDiscovery(List<DomainControllerManagementInterface> interfaces)
Allow a domain controller's host name and port number to be discovered.
|
void |
cleanUp()
Clean up anything that was created for domain controller discovery.
|
List<RemoteDomainControllerConnectionConfiguration> |
discover()
Determine the host name and port of the remote domain controller.
|
String |
toString() |
public StaticDiscovery(String protocol, String host, int port)
protocol
- protocol to use for the discoveryhost
- host name of the domain controllerport
- port number of the domain controllerpublic void allowDiscovery(List<DomainControllerManagementInterface> interfaces)
DiscoveryOption
allowDiscovery
in interface DiscoveryOption
interfaces
- the interfaces of the domain controller.public List<RemoteDomainControllerConnectionConfiguration> discover()
DiscoveryOption
discover
in interface DiscoveryOption
public void cleanUp()
DiscoveryOption
cleanUp
in interface DiscoveryOption
Copyright © 2023 JBoss by Red Hat. All rights reserved.