Interface ServiceDiscoveryMechanismCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
ReplicationServiceDiscoveryMechanismCfg,StaticServiceDiscoveryMechanismCfg
A server-side interface for querying Service Discovery Mechanism
settings.
A Service Discovery Mechanism identifies a set of LDAP servers for load balancing
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Service Discovery Mechanism is changed.Class<? extends ServiceDiscoveryMechanismCfg>Gets the configuration class associated with this Service Discovery Mechanism.Gets the "java-class" property.voidDeregister an existing Service Discovery Mechanism configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends ServiceDiscoveryMechanismCfg> configurationClass()Gets the configuration class associated with this Service Discovery Mechanism.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Service Discovery Mechanism.
-
addChangeListener
Register to be notified when this Service Discovery Mechanism is changed.- Parameters:
listener- The Service Discovery Mechanism configuration change listener.
-
removeChangeListener
Deregister an existing Service Discovery Mechanism configuration change listener.- Parameters:
listener- The Service Discovery Mechanism configuration change listener.
-
getJavaClass
String getJavaClass()Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Service Discovery Mechanism implementation.
- Returns:
- Returns the value of the "java-class" property.
-