public interface StaticServiceDiscoveryMechanismCfg extends ServiceDiscoveryMechanismCfg
A Static Service Discovery Mechanism returns a fixed list of LDAP directory servers.
| Modifier and Type | Method and Description |
|---|---|
void |
addStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
Register to be notified when this Static Service Discovery Mechanism is changed.
|
Class<? extends StaticServiceDiscoveryMechanismCfg> |
configurationClass()
Gets the configuration class associated with this Static Service Discovery Mechanism.
|
long |
getDiscoveryInterval()
Gets the "discovery-interval" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<String> |
getPrimaryServer()
Gets the "primary-server" property.
|
SortedSet<String> |
getSecondaryServer()
Gets the "secondary-server" property.
|
void |
removeStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
Deregister an existing Static Service Discovery Mechanism configuration change listener.
|
addChangeListener, getKeyManagerProvider, getKeyManagerProviderDN, getSSLCertNickname, getTrustManagerProvider, getTrustManagerProviderDN, isUseSSL, isUseStartTLS, removeChangeListenerdn, nameClass<? extends StaticServiceDiscoveryMechanismCfg> configurationClass()
configurationClass in interface ConfigurationconfigurationClass in interface ServiceDiscoveryMechanismCfgvoid addStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
listener - The Static Service Discovery Mechanism configuration change listener.void removeStaticChangeListener(ConfigurationChangeListener<StaticServiceDiscoveryMechanismCfg> listener)
listener - The Static Service Discovery Mechanism configuration change listener.long getDiscoveryInterval()
Interval between two server configuration discovery executions.
Specifies how frequently to read the configuration of the servers in order to discover their new information.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Static Service Discovery Mechanism implementation.
getJavaClass in interface ServiceDiscoveryMechanismCfgSortedSet<String> getPrimaryServer()
Specifies a list of servers that will be used in preference to secondary servers when available.
SortedSet<String> getSecondaryServer()
Specifies a list of servers that will be used in place of primary servers when all primary servers are unavailable.
Copyright © 2017-2020 Wren Security. All Rights Reserved.