|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityConnectionProvider
Interface for a class responsible for providing EntityConnection objects.
Method Summary | |
---|---|
void |
disconnect()
Logs out, disconnects and performs cleanup if required |
StateObserver |
getConnectedState()
|
EntityConnection |
getConnection()
Provides a EntityConnection object, is responsible for returning a healthy EntityConnection object, that is, it must reconnect an invalid connection whether remotely or locally |
String |
getDescription()
|
User |
getUser()
|
boolean |
isConnected()
|
void |
setUser(User user)
Sets the user for this db provider, this invalidates and disconnects the previous connection if any. |
Method Detail |
---|
EntityConnection getConnection()
String getDescription()
boolean isConnected()
StateObserver getConnectedState()
void disconnect()
void setUser(User user)
user
- the userUser getUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |