|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseConnectionRunnable
A runnable that attempts to connect to a database. If it does it will get a list of all the databases and store them for later access. If it does not then it will store an error message.
Method Summary | |
---|---|
java.lang.String |
canConnect()
Returns null if the run method was able to connect to the database otherwise will return a message indicating what went wrong. |
java.lang.String[] |
getDatabaseNames()
Returns the names of the databases in the database that this object connected to when the run method was executed. |
Method Detail |
---|
java.lang.String canConnect()
java.lang.IllegalStateException
- if called before run.java.lang.String[] getDatabaseNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |