|
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
Classes that extends this class are capable of using a database to retrieve startup events.
Constructor Summary | |
protected |
AbstractDatabaseTriggerServerEvents()
Constructor. |
Method Summary | |
protected abstract java.sql.Connection |
getConnection()
Gets the database connection. |
protected abstract void |
release(java.sql.Connection conn)
Releases the connection. |
void |
serverStart()
This method is called when starting the trigger server. |
void |
serverStop()
This method is called when shutting down the trigger server. |
boolean |
triggerRemoved(long lTriggerPK)
This method is called when removing a trigger. |
boolean |
triggerScheduled(Trigger trigger)
This method is called when scheduling a trigger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractDatabaseTriggerServerEvents()
Method Detail |
public void serverStart()
ITriggerServerEvents
serverStart
in interface ITriggerServerEvents
public void serverStop()
ITriggerServerEvents
serverStop
in interface ITriggerServerEvents
public boolean triggerScheduled(Trigger trigger)
ITriggerServerEvents
triggerScheduled
in interface ITriggerServerEvents
com.compoze.trigger.ITriggerServerEvents
trigger
- the scheduled triggertrue
if the trigger is processed successfully; false
otherwisepublic boolean triggerRemoved(long lTriggerPK)
ITriggerServerEvents
triggerRemoved
in interface ITriggerServerEvents
com.compoze.trigger.ITriggerServerEvents
lTriggerPK
- the id of the trigger to removetrue
if the trigger is processed successfully; false
otherwiseprotected abstract java.sql.Connection getConnection() throws java.sql.SQLException
protected abstract void release(java.sql.Connection conn) throws java.sql.SQLException
conn
- the connection to release
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |