public interface StaticServiceDiscoveryMechanismCfgClient extends ServiceDiscoveryMechanismCfgClient
A Static Service Discovery Mechanism returns a fixed list of LDAP directory servers.
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectDefinition<? extends StaticServiceDiscoveryMechanismCfgClient,? extends StaticServiceDiscoveryMechanismCfg> |
definition()
Get the configuration definition 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 |
setDiscoveryInterval(Long value)
Sets the "discovery-interval" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setPrimaryServer(Collection<String> values)
Sets the "primary-server" property.
|
void |
setSecondaryServer(Collection<String> values)
Sets the "secondary-server" property.
|
getKeyManagerProvider, getSSLCertNickname, getTrustManagerProvider, isUseSSL, isUseStartTLS, setKeyManagerProvider, setSSLCertNickname, setTrustManagerProvider, setUseSSL, setUseStartTLScommit, propertiesManagedObjectDefinition<? extends StaticServiceDiscoveryMechanismCfgClient,? extends StaticServiceDiscoveryMechanismCfg> definition()
definition in interface ConfigurationClientdefinition in interface ServiceDiscoveryMechanismCfgClientlong 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.
void setDiscoveryInterval(Long value) throws PropertyException
Interval between two server configuration discovery executions.
Specifies how frequently to read the configuration of the servers in order to discover their new information.
value - The value of the "discovery-interval" property.PropertyException - If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Static Service Discovery Mechanism implementation.
getJavaClass in interface ServiceDiscoveryMechanismCfgClientvoid setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Static Service Discovery Mechanism implementation.
setJavaClass in interface ServiceDiscoveryMechanismCfgClientvalue - The value of the "java-class" property.PropertyException - If the new value is invalid.SortedSet<String> getPrimaryServer()
Specifies a list of servers that will be used in preference to secondary servers when available.
void setPrimaryServer(Collection<String> values) throws PropertyException
Specifies a list of servers that will be used in preference to secondary servers when available.
values - The values of the "primary-server" property.PropertyException - If one or more of the new values are invalid.SortedSet<String> getSecondaryServer()
Specifies a list of servers that will be used in place of primary servers when all primary servers are unavailable.
void setSecondaryServer(Collection<String> values) throws PropertyException
Specifies a list of servers that will be used in place of primary servers when all primary servers are unavailable.
values - The values of the "secondary-server" property.PropertyException - If one or more of the new values are invalid.Copyright © 2017-2020 Wren Security. All Rights Reserved.