|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.SqlConnection
The SqlConnection object is usually instantiated at IMF startup time based on the contents of the $IMF/WEB-INF/sql-connections.xml file. It is used by IMF's data linking routines to display data from related database tables, or to find spatial data based on information in related database tables. Connection pooling is used to optimize database access performance.
| Constructor Summary | |
SqlConnection()
Creates a new instance of SqlConnection |
|
| Method Summary | |
void |
close()
Closes the connection pool associated with this object. |
java.sql.Connection |
getConnection()
|
java.lang.String |
getConnectionName()
|
protected java.lang.String |
getConnectionString()
|
java.lang.String |
getDriver()
|
protected java.lang.String |
getPassword()
|
java.lang.String |
getUser()
|
void |
initialize()
|
boolean |
isValid()
|
void |
setConnectionName(java.lang.String name)
|
void |
setConnectionString(java.lang.String connectionString)
|
void |
setDriver(java.lang.String driver)
|
void |
setPassword(java.lang.String password)
|
void |
setUser(java.lang.String user)
|
void |
setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SqlConnection()
| Method Detail |
public java.sql.Connection getConnection()
public void close()
protected java.lang.String getConnectionString()
public void setConnectionString(java.lang.String connectionString)
public java.lang.String getDriver()
public void setDriver(java.lang.String driver)
public java.lang.String getConnectionName()
public void setConnectionName(java.lang.String name)
protected java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public boolean isValid()
public void setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The XML element tag containing this attribute.name - The XML attribute name.value - The XML attribute value.public void initialize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||