|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionStrategy
Interface to describe various connection strategies. Each strategy returns an ordered list of URLs to attempt when opening a connection.
| Field Summary | |
|---|---|
static ConnectionStrategy |
ACTIVE_PASSIVE
active-passive strategy. |
static ConnectionStrategy |
DEFAULT
default strategy. |
static ConnectionStrategy |
RANDOM
random strategy. |
static ConnectionStrategy |
ROUND_ROBIN
round robin strategy. |
| Method Summary | |
|---|---|
String[] |
getLdapUrls(ConnectionFactoryMetadata metadata)
Returns an ordered list of URLs to attempt to open. |
| Field Detail |
|---|
static final ConnectionStrategy DEFAULT
static final ConnectionStrategy ACTIVE_PASSIVE
static final ConnectionStrategy ROUND_ROBIN
static final ConnectionStrategy RANDOM
| Method Detail |
|---|
String[] getLdapUrls(ConnectionFactoryMetadata metadata)
metadata - which can be used to produce the URL list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||