public abstract class PMJdbcImpl extends PMImpl
PMImpl.ListObserver
Constructor and Description |
---|
PMJdbcImpl()
Creates a new instance of PMJdbcImpl.
|
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
getConnection()
Creates a new database connection.
|
java.lang.String |
getJdbcDriver()
Returns the configured JDBC driver.
|
java.lang.String |
getJdbcPassword()
Returns the configured JDBC password.
|
java.lang.String |
getJdbcUrl()
Returns the configured JDBC URL.
|
java.lang.String |
getJdbcUser()
Returns the configured JDBC user.
|
void |
init(JMManager pManager)
Initializes the PM.
|
create, getManager, parseQuery, select, select, select
public void init(JMManager pManager) throws JAXBException
PM
Initializes the PM. Called from the
JAXBContextImpl
upon initialization.
init
in interface PM
init
in class PMImpl
pManager
- The manager being queried for configuration details.JAXBException
public java.lang.String getJdbcDriver()
public java.lang.String getJdbcUrl()
public java.lang.String getJdbcUser()
public java.lang.String getJdbcPassword()
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException