All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.web.session.SessionManagerFactoryConfiguration Maven / Gradle / Ivy

Go to download

A set of SPIs for implementing a container-independent distributable HTTP session manager and single sign-on manager for use by a servlet container.

There is a newer version: 33.0.2.Final
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */
package org.wildfly.clustering.web.session;

import java.util.function.Supplier;

import org.wildfly.clustering.ee.Immutability;
import org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller;
import org.wildfly.clustering.web.WebDeploymentConfiguration;

/**
 * Encapsulates the configuration of a session manager.
 * @param  the HttpSession specification type
 * @param  the ServletContext specification type
 * @param  the HttpSessionAttributeListener specification type
 * @param  the marshalling context type
 * @param  the local context type
 * @author Paul Ferraro
 */
public interface SessionManagerFactoryConfiguration extends WebDeploymentConfiguration {

    Integer getMaxActiveSessions();

    ByteBufferMarshaller getMarshaller();

    Supplier getLocalContextFactory();

    Immutability getImmutability();

    SpecificationProvider getSpecificationProvider();

    SessionAttributePersistenceStrategy getAttributePersistenceStrategy();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy