Interface ImmutableSessionAttributesFactory<V>

Type Parameters:
V - attributes cache entry type
All Superinterfaces:
CacheEntryLocator<String,V>
All Known Subinterfaces:
SessionAttributesFactory<C,V>
All Known Implementing Classes:
CoarseSessionAttributesFactory, CoarseSessionAttributesFactory, FineSessionAttributesFactory, FineSessionAttributesFactory

public interface ImmutableSessionAttributesFactory<V> extends CacheEntryLocator<String,V>
Factory for creating a map of session attributes.
Author:
Paul Ferraro
  • Method Details

    • createImmutableSessionAttributes

      Map<String,Object> createImmutableSessionAttributes(String id, V value)
      Creates an immutable session attributes.
      Parameters:
      id - the identifier of a session
      value - the session attributes cache entry
      Returns:
      a map of session attributes