org.wildfly.clustering.web.session.SessionManagerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-web-spi Show documentation
Show all versions of wildfly-clustering-web-spi Show documentation
A set of SPIs for implementing a container-independent distributable HTTP session manager and single sign-on manager for use by a servlet container.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.web.session;
import org.wildfly.clustering.ee.Batch;
/**
* A factory for creating a session manager.
* @param the ServletContext specification type
* @param the local context type
* @param the batch type
* @author Paul Ferraro
*/
public interface SessionManagerFactory extends AutoCloseable {
/**
* Create as session manager using the specified context and identifier factory.
* @param context a session context
* @param idFactory a session identifier factory
* @return a new session manager
*/
SessionManager createSessionManager(SessionManagerConfiguration configuration);
@Override
void close();
}