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 ApplicationEvent

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

See Also:
Serialized Form

Field Summary
 
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
 

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 © 2006-2010 Internet2. All Rights Reserved.