|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jminor.framework.db.provider.AbstractEntityConnectionProvider
org.jminor.framework.server.provider.RemoteEntityConnectionProvider
public final class RemoteEntityConnectionProvider
A class responsible for managing a remote entity connection.
Constructor Summary | |
---|---|
RemoteEntityConnectionProvider(User user,
UUID clientID,
String clientTypeID)
Instantiates a new RemoteEntityConnectionProvider. |
Method Summary | |
---|---|
protected EntityConnection |
connect()
|
void |
disconnect()
Logs out, disconnects and performs cleanup if required |
UUID |
getClientID()
|
String |
getDescription()
|
protected boolean |
isConnectionValid()
|
Methods inherited from class org.jminor.framework.db.provider.AbstractEntityConnectionProvider |
---|
getConnectedState, getConnection, getConnectionInternal, getUser, isConnected, setConnection, setUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteEntityConnectionProvider(User user, UUID clientID, String clientTypeID)
user
- the user to base the db provider onclientID
- the client IDclientTypeID
- a string identifying the client typeMethod Detail |
---|
public String getDescription()
public void disconnect()
public UUID getClientID()
protected EntityConnection connect()
connect
in class AbstractEntityConnectionProvider
protected boolean isConnectionValid()
isConnectionValid
in class AbstractEntityConnectionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |