org.jcoderz.commons.config
Class ConfigUpdateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jcoderz.commons.config.ConfigUpdateEvent
All Implemented Interfaces:
Serializable

public class ConfigUpdateEvent
extends EventObject

The ConfigUpdateEvent is used for triggering *Service*Configuration caches to update their caches, if the underlying configuration service caches or database settings have been changed.

See Also:
Serialized Form

Field Summary
static int CACHE_UPDATED
          Cache has been updated.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConfigUpdateEvent(Object eventSource, int eventId)
           
 
Method Summary
 int getId()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CACHE_UPDATED

public static final int CACHE_UPDATED
Cache has been updated.

See Also:
Constant Field Values
Constructor Detail

ConfigUpdateEvent

public ConfigUpdateEvent(Object eventSource,
                         int eventId)
Parameters:
eventSource - Class that fired the event
eventId - Identifier for the event
Method Detail

getId

public int getId()
Returns:
EventId of this event


Copyright 2007 The jCoderZ Project.