|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.Object |
clone()
Clone the adapter to avoid constructing it each time |
void |
connect(ConnectInfo info)
Connects the adapter to destination source |
void |
disconnect()
Disconnect the adapter from remote/local source |
java.lang.Object |
getConnectionStatus()
Gets the connection status returned by the connect method |
boolean |
isAbstractConnection()
Returns true if the connection is abstract(not to a real database) false if the connection is made to a real database |
boolean |
isConnected()
|
java.lang.Object |
queryObject(java.lang.Object sent)
Send Object and get received response object all in one step |
void |
reloadProperties()
Reloads the properties from the properties sources if any if not possible properties,do nothing :) called when adapter config file changes to reload changes without the need of recreating the adapter |
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean isConnected()
public void connect(ConnectInfo info) throws java.lang.Exception
info
- connection info
java.lang.Exception
public java.lang.Object getConnectionStatus()
connect
method
public void disconnect() throws java.lang.Exception
java.lang.Exception
public java.lang.Object queryObject(java.lang.Object sent) throws java.lang.Exception
java.lang.Exception
public void reloadProperties() throws java.lang.Exception
java.lang.Exception
public boolean isAbstractConnection()
|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |