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 org.springframework.context.ApplicationEvent

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

See Also:
Serialized Form

Field Summary
private  KeyType key
          Key to the removed item.
private  String partition
          Storage partition to which the item was removed.
private static long serialVersionUID
          Serial version UID.
private  org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService
          Storage service to which the item was removed.
private  ValueType value
          The removed item.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

storageService

private org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService
Storage service to which the item was removed.


partition

private String partition
Storage partition to which the item was removed.


key

private KeyType key
Key to the removed item.


value

private ValueType value
The removed item.

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 © 1999-2012. All Rights Reserved.