|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiRepositoryClient
Extends RepositoryClient by supporting multiple connections.
Method Summary | |
---|---|
void |
clearConnections()
Clears all connections. |
Set<String> |
connectionAliasSet()
Returns a read-only set of defined connection aliases. |
boolean |
containsConnection(String alias)
Checks the specified connection. |
String |
getAuthenticatedPasswordKey(String alias)
Gets the authenticated password key of the specified connection. |
String |
getAuthenticatedUsernameKey(String alias)
Gets the authenticated username key of the specified connection. |
String |
getAuthenticationConnectionAlias(String alias)
Gets the authentication connection alias of the specified connection. |
String |
getConnectionAlias(String alias)
Gets the specified connection of an alias. |
String |
getConnectionUsername(String alias)
Gets the user's login name of the specified connection. |
String |
getPersisterClassName(String alias)
Gets the class name of the persister implementation of the specified connection. |
boolean |
isConnectionAuthenticated(String alias)
Checks whether authentication is configured for the specified connection. |
void |
removeConnection(String alias)
Removes the specified connection. |
void |
setAuthenticationConnection(String alias,
String auth,
String userKey,
String pswdKey)
Sets authentication connection of the specified connection. |
void |
setConnectionAlias(String alias,
String other)
Sets an alias for the specified connection. |
void |
setConnectionAuthenticated(String alias,
boolean authenticated)
Sets whether authentication is configured for the specified connection. |
void |
setConnectionPassword(String alias,
String password)
Sets the user's credentials of the specified connection. |
void |
setConnectionUsername(String alias,
String username)
Sets the user's login name of the specified connection. |
void |
setPersisterClassName(String alias,
String className)
Sets the class name of the persister implementation of the specified connection. |
Method Detail |
---|
String getConnectionAlias(String alias)
alias
- the connection alias.
void setConnectionAlias(String alias, String other)
alias
- the connection alias.other
- the specified connection alias.String getPersisterClassName(String alias)
alias
- the connection alias.
void setPersisterClassName(String alias, String className)
alias
- the connection alias.className
- the class name.String getConnectionUsername(String alias)
alias
- the connection alias.
void setConnectionUsername(String alias, String username)
alias
- the connection alias.username
- the user's repository connection login name.void setConnectionPassword(String alias, String password)
alias
- the connection alias.password
- the user's repository connection credentials.boolean isConnectionAuthenticated(String alias)
alias
- the connection alias.
void setConnectionAuthenticated(String alias, boolean authenticated)
alias
- the connection alias.authenticated
- true if the connection is to be authenticated.String getAuthenticationConnectionAlias(String alias)
alias
- the connection alias.
String getAuthenticatedUsernameKey(String alias)
alias
- the connection alias.
String getAuthenticatedPasswordKey(String alias)
alias
- the connection alias.
void setAuthenticationConnection(String alias, String auth, String userKey, String pswdKey)
alias
- the connection alias.auth
- the authentication alias.userKey
- the username key.pswdKey
- the password key.boolean containsConnection(String alias)
alias
- the connection alias.
void removeConnection(String alias)
alias
- the connection alias.void clearConnections()
Set<String> connectionAliasSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |