edu.internet2.middleware.shibboleth.common.util
Class EventingMapBasedStorageService.AddEntryEvent<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.AddEntryEvent<KeyType,ValueType>
All Implemented Interfaces:
Serializable
Enclosing class:
EventingMapBasedStorageService<KeyType,ValueType>

public static class EventingMapBasedStorageService.AddEntryEvent<KeyType,ValueType>
extends org.springframework.context.ApplicationEvent

An event indicating an item has been added to an storage service.

See Also:
Serialized Form

Field Summary
private  KeyType key
          Key to the added item.
private  String partition
          Storage partition to which the item was added.
private static long serialVersionUID
          Serial version UID.
private  org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService
          Storage service to which the item was added.
private  ValueType value
          The added item.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EventingMapBasedStorageService.AddEntryEvent(org.opensaml.util.storage.StorageService<KeyType,ValueType> storageService, String partition, KeyType key, ValueType value)
          Constructor.
 
Method Summary
 KeyType getKey()
          Gets the key of the added item.
 String getPartition()
          Gets the partition to which the entry was added.
 org.opensaml.util.storage.StorageService<KeyType,ValueType> getStorageService()
          Gets the storage service to which an item was added.
 ValueType getValue()
          Gets the added 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 added.


partition

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


key

private KeyType key
Key to the added item.


value

private ValueType value
The added item.

Constructor Detail

EventingMapBasedStorageService.AddEntryEvent

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

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

getStorageService

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

Returns:
storage service to which an item was added

getPartition

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

Returns:
partition to which the entry was added

getKey

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

Returns:
key of the added item

getValue

public ValueType getValue()
Gets the added item.

Returns:
added item


Copyright © 1999-2012. All Rights Reserved.