Compoze Software, Inc.

com.compoze.trigger
Interface ITriggerServerEvents

All Known Implementing Classes:
AbstractDatabaseTriggerServerEvents

public interface ITriggerServerEvents

Classes that implement this interface are capable of performing additional tasks when the trigger server starts up and shuts down.


Method Summary
 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.
 

Method Detail

serverStart


public void serverStart()
This method is called when starting the trigger server.

serverStop


public void serverStop()
This method is called when shutting down the trigger server.

triggerScheduled


public boolean triggerScheduled(Trigger trigger)
This method is called when scheduling a trigger.
Parameters:
trigger - the scheduled trigger
Returns:
true if the trigger is processed successfully; false otherwise

triggerRemoved


public boolean triggerRemoved(long lTriggerPK)
This method is called when removing a trigger.
Parameters:
lTriggerPK - the id of the trigger to remove
Returns:
true if the trigger is processed successfully; false otherwise

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.