Interface SessionAttributesFactory<C,V>
- Type Parameters:
C- the ServletContext specification typeV- the marshalled value type
- All Superinterfaces:
AutoCloseable,Creator<String,,V, Void> ImmutableSessionAttributesFactory<V>,Locator<String,,V> Remover<String>
public interface SessionAttributesFactory<C,V>
extends ImmutableSessionAttributesFactory<V>, Creator<String,V,Void>, Remover<String>, AutoCloseable
Factory for creating a
SessionAttributes object.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()createSessionAttributes(String id, V value, ImmutableSessionMetaData metaData, C context) Methods inherited from interface org.wildfly.clustering.ee.Creator
createValueMethods inherited from interface org.wildfly.clustering.web.cache.session.attributes.ImmutableSessionAttributesFactory
createImmutableSessionAttributes
-
Method Details
-
createSessionAttributes
SessionAttributes createSessionAttributes(String id, V value, ImmutableSessionMetaData metaData, C context) -
close
default void close()- Specified by:
closein interfaceAutoCloseable
-