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

org.wildfly.clustering.web.session.SessionManagerFactory 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 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy