edu.internet2.middleware.shibboleth.common.util
Class EventingMapBasedStorageService.RemoveEntryEvent<KeyType,ValueType>

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService.RemoveEntryEvent<KeyType,ValueType>
All Implemented Interfaces:
Serializable
Enclosing class:
EventingMapBasedStorageService<KeyType,ValueType>

public static class EventingMapBasedStorageService.RemoveEntryEvent<KeyType,ValueType>
extends ApplicationEvent

An event indicating an item has been removed from an storage service.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EventingMapBasedStorageService.RemoveEntryEvent(org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService, String partition, KeyType key, ValueType value)
          Constructor.
 
Method Summary
 KeyType getKey()
          Gets the key of the removed item.
 String getPartition()
          Gets the partition to which the entry was removed.
 org.opensaml.util.storage.StorageService<KeyType,ValueType> getStorageService()
          Gets the storage service to which an item was removed.
 ValueType getValue()
          Gets the removed item.
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
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
 

Constructor Detail

EventingMapBasedStorageService.RemoveEntryEvent

public EventingMapBasedStorageService.RemoveEntryEvent(org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService,
                                                       String partition,
                                                       KeyType key,
                                                       ValueType value)
Constructor.

Parameters:
storageService - storage service to which an item was removed
partition - partition to which the entry was removed
key - key of the removed item
value - removed item
Method Detail

getStorageService

public org.opensaml.util.storage.StorageService<KeyType,ValueType> getStorageService()
Gets the storage service to which an item was removed.

Returns:
storage service to which an item was removed

getPartition

public String getPartition()
Gets the partition to which the entry was removed.

Returns:
partition to which the entry was removed

getKey

public KeyType getKey()
Gets the key of the removed item.

Returns:
key of the removed item

getValue

public ValueType getValue()
Gets the removed item.

Returns:
removed item


Copyright © 2006-2010 Internet2. All Rights Reserved.