net.dpml.transit.model
Class CacheEvent
java.lang.Object
  
java.util.EventObject
      
net.dpml.transit.model.CacheEvent
- All Implemented Interfaces: 
 - Serializable
 
- public abstract class CacheEvent
- extends EventObject
  
An abstract event related to the addition and removal of hosts
 to and from the cache model.
- Version:
 
  - 1.0.0
 
- Author:
 
  - The Digital Product Meta Library
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
 
CacheEvent
public CacheEvent(CacheModel source,
                  HostModel host)
- Construction of a new cache change event.
 - Parameters:
 source - the cache model initiating the eventhost - the host model added or removed from the cache
getCacheModel
public CacheModel getCacheModel()
- Return the cache model that initiating the event.
- Returns:
 - the cache model
 
 
 
getHostModel
public HostModel getHostModel()
- Return the host model that was added or removed.
- Returns:
 - the host model