|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.apelon.apelonserver.client.BasicQuery
|
+--org.nci.dts.client.DbInfoServer
A DbInfoServer provides common methods for getting database information.
Copyright: Copyright (c) 2002
Company: Apelon Inc.
| Constructor Summary | |
DbInfoServer()
|
|
| Method Summary | |
static DbInfoServer |
createInstance(com.apelon.apelonserver.client.ServerConnection sc)
Creates an instance of DbInfoServer. |
static DbInfoServer |
createInstance(com.apelon.apelonserver.client.ServerConnection sc,
boolean isValidating)
Creates an instance of DbInfoServer. |
DbInfo |
getDbInfo(java.lang.String dbname)
Retrieves database infomation for the specified database name. |
DbInfo[] |
getDbInfos()
Retrieves all database infomation. |
| Methods inherited from class com.apelon.apelonserver.client.BasicQuery |
ping, setVersion |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbInfoServer()
| Method Detail |
public static DbInfoServer createInstance(com.apelon.apelonserver.client.ServerConnection sc)
throws com.apelon.dts.client.DTSException
sc - server connectin type
com.apelon.dts.client.DTSException - errorServerConnectionJDBC,
ServerConnectionSocket
public static DbInfoServer createInstance(com.apelon.apelonserver.client.ServerConnection sc,
boolean isValidating)
throws com.apelon.dts.client.DTSException
sc - server connectin typeisValidating - a boolean value. It is true if xml needs to
be validated, otherwise it is false.
com.apelon.dts.client.DTSException - errorServerConnectionJDBC,
ServerConnectionSocket
public DbInfo getDbInfo(java.lang.String dbname)
throws com.apelon.dts.client.DTSException
dbname - - the database name.
com.apelon.dts.client.DTSException - error
public DbInfo[] getDbInfos()
throws com.apelon.dts.client.DTSException
com.apelon.dts.client.DTSException - error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||