konark.manager
Class DatabaseEventHandler

java.lang.Object
  extended bykonark.manager.EventHandler
      extended bykonark.manager.DatabaseEventHandler
All Implemented Interfaces:
java.io.Serializable

public class DatabaseEventHandler
extends EventHandler
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.sql.Connection dbConnect
           
protected  DBModule dbModule
           
protected  ajanta.server.AgentEnv host
           
 
Fields inherited from class konark.manager.EventHandler
db, defSubObj, iAg, mAg
 
Constructor Summary
DatabaseEventHandler()
           
 
Method Summary
 void addSubscriberList(java.util.Vector subList)
           
 void logEventInDB(Event e)
           
 void notifyEvent(Event event, int typeOfAgent)
           
 void processEvent(Event e, ajanta.server.AgentEnv ae, DBModule db, int typeOfAgent)
           
 
Methods inherited from class konark.manager.EventHandler
notifyEventPreProcess, setAgentHandle, setAgentHandle, setAgentURN, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbModule

protected DBModule dbModule

host

protected transient ajanta.server.AgentEnv host

dbConnect

protected java.sql.Connection dbConnect
Constructor Detail

DatabaseEventHandler

public DatabaseEventHandler()
Method Detail

processEvent

public void processEvent(Event e,
                         ajanta.server.AgentEnv ae,
                         DBModule db,
                         int typeOfAgent)
Overrides:
processEvent in class EventHandler
Parameters:
e -
ae -
db -

logEventInDB

public void logEventInDB(Event e)
Parameters:
e -

addSubscriberList

public void addSubscriberList(java.util.Vector subList)
Overrides:
addSubscriberList in class EventHandler
Parameters:
subList -

notifyEvent

public void notifyEvent(Event event,
                        int typeOfAgent)
Overrides:
notifyEvent in class EventHandler
Parameters:
event -