public class ActivePassiveConnectionStrategy extends java.lang.Object implements ConnectionStrategy
ACTIVE_PASSIVE, DEFAULT, RANDOM, ROUND_ROBIN| Constructor and Description |
|---|
ActivePassiveConnectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 java.lang.String[] getLdapUrls(ConnectionFactoryMetadata metadata)
getLdapUrls in interface ConnectionStrategymetadata - which can be used to produce the URL list