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

org.wildfly.clustering.session.SessionManagerFactory Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */
package org.wildfly.clustering.session;

/**
 * A factory for creating a session manager.
 * @param  the session manager context type
 * @param  the session context type
 * @author Paul Ferraro
 */
public interface SessionManagerFactory extends AutoCloseable {
	/**
	 * Create a session manager using the specified configuration.
	 * @param configuration a session manager configuration
	 * @return a new session manager
	 */
	SessionManager createSessionManager(SessionManagerConfiguration configuration);

	@Override
	void close();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy