|
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()
ITriggerServerEventsserverStart in interface ITriggerServerEventspublic void serverStop()
ITriggerServerEventsserverStop in interface ITriggerServerEventspublic boolean triggerScheduled(Trigger trigger)
ITriggerServerEventstriggerScheduled in interface ITriggerServerEventscom.compoze.trigger.ITriggerServerEventstrigger - the scheduled triggertrue if the trigger is processed successfully; false otherwisepublic boolean triggerRemoved(long lTriggerPK)
ITriggerServerEventstriggerRemoved in interface ITriggerServerEventscom.compoze.trigger.ITriggerServerEventslTriggerPK - the id of the trigger to removetrue if the trigger is processed successfully; false otherwise
protected 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 | ||||||||