public interface Connector extends Serializable
| Modifier and Type | Method and Description |
|---|---|
LRepository |
find(String name)
Searches repository with given name.
|
Collection<RepositoryName> |
getRepositories()
Gets list of all available repositories.
|
void |
login(String username,
String password)
Logs in with given credentials.
|
void |
logout()
Logs out.
|
Collection<RepositoryName> |
search(String name) |
void |
start(javax.servlet.ServletContext context)
Starts this connector using given context.
|
String |
userName()
Gets name of user currently logged in.
|
void start(javax.servlet.ServletContext context) throws RemoteException
context - the contextRemoteException - if there is an error with the connectorvoid login(String username, String password) throws RemoteException
username - the user namepassword - user's password.RemoteExceptionvoid logout()
String userName()
Collection<RepositoryName> getRepositories()
LRepository find(String name) throws RemoteException
name - the name of the repository to search.RemoteException - if there is an error getting the repositoryCollection<RepositoryName> search(String name) throws RemoteException
RemoteExceptionCopyright © 2008–2018 JBoss, a division of Red Hat. All rights reserved.