Class MarshallerSessionAttributesFactoryConfiguration<V,MV>
java.lang.Object
org.wildfly.clustering.session.cache.attributes.MarshallerSessionAttributesFactoryConfiguration<V,MV>
- Type Parameters:
V- the attributes value typeMV- the serialized attributes value type
- All Implemented Interfaces:
SessionAttributesFactoryConfiguration<V,MV>
- Direct Known Subclasses:
IdentityMarshallerSessionAttributesFactoryConfiguration, MarshalledValueMarshallerSessionAttributesFactoryConfiguration
public abstract class MarshallerSessionAttributesFactoryConfiguration<V,MV>
extends Object
implements SessionAttributesFactoryConfiguration<V,MV>
Configuration for a factory for creating
SessionAttributes objects, based on marshalled values.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected <SC>MarshallerSessionAttributesFactoryConfiguration(SessionManagerFactoryConfiguration<SC> configuration, Marshaller<V, MV> marshaller) Creates a session attributes factory configuration -
Method Summary
Modifier and TypeMethodDescriptionReturns the immutability predicate for the attributes of a session.Returns the marshaller for the attributes of a session.
-
Constructor Details
-
MarshallerSessionAttributesFactoryConfiguration
protected <SC> MarshallerSessionAttributesFactoryConfiguration(SessionManagerFactoryConfiguration<SC> configuration, Marshaller<V, MV> marshaller) Creates a session attributes factory configuration- Type Parameters:
SC- a session context type- Parameters:
configuration- a session manager factory configurationmarshaller- a session attributes marshaller
-
-
Method Details
-
getMarshaller
Description copied from interface:SessionAttributesFactoryConfigurationReturns the marshaller for the attributes of a session.- Specified by:
getMarshallerin interfaceSessionAttributesFactoryConfiguration<V,MV> - Returns:
- the marshaller for the attributes of a session.
-
getImmutability
Description copied from interface:SessionAttributesFactoryConfigurationReturns the immutability predicate for the attributes of a session.- Specified by:
getImmutabilityin interfaceSessionAttributesFactoryConfiguration<V,MV> - Returns:
- the immutability predicate for the attributes of a session.
-