|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.trigger.AbstractDatabaseTriggerServerEvents | +--com.compoze.trigger.JdbcTriggerServerEvents
This class is used to retrieve startup events from a Jdbc
connection. The properties for creating the Jdbc connection
are stored in trigger.properties
starting
with trigger.startup.jdbc
.
Property | Description |
trigger.startup.jdbc.driver | the connection driver |
trigger.startup.jdbc.password | the connection password |
trigger.startup.jdbc.username | the connection username |
trigger.startup.jdbc.pool-size | the connection pool size (0 for no pooling) |
trigger.startup.jdbc.url | the connection url |
Constructor Summary | |
JdbcTriggerServerEvents()
Constructor. |
Method Summary | |
java.sql.Connection |
getConnection()
Gets the database connection. |
protected void |
release(java.sql.Connection conn)
Releases the connection. |
Methods inherited from class com.compoze.trigger.AbstractDatabaseTriggerServerEvents |
serverStart, serverStop, triggerRemoved, triggerScheduled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcTriggerServerEvents()
Method Detail |
public java.sql.Connection getConnection() throws java.sql.SQLException
AbstractDatabaseTriggerServerEvents
getConnection
in class AbstractDatabaseTriggerServerEvents
com.compoze.trigger.AbstractDatabaseTriggerServerEvents
protected void release(java.sql.Connection conn) throws java.sql.SQLException
AbstractDatabaseTriggerServerEvents
release
in class AbstractDatabaseTriggerServerEvents
com.compoze.trigger.AbstractDatabaseTriggerServerEvents
conn
- the connection to release
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |