public class ActivePassiveConnectionStrategy extends Object implements ConnectionStrategy
ACTIVE_PASSIVE, DEFAULT, RANDOM, ROUND_ROBIN
Constructor and Description |
---|
ActivePassiveConnectionStrategy() |
Modifier and Type | Method and Description |
---|---|
String[] |
getLdapUrls(ConnectionFactoryMetadata metadata)
Return the URLs in the order they are provided, so that the first URL is always tried first, then the second, and
so forth.
|
public String[] getLdapUrls(ConnectionFactoryMetadata metadata)
getLdapUrls
in interface ConnectionStrategy
metadata
- which can be used to produce the URL listCopyright © 2024. All rights reserved.