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

org.wildfly.clustering.session.spec.SessionSpecificationProvider Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta2
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.session.spec;

import org.wildfly.clustering.session.ImmutableSession;

/**
 * Provides specification facades to a session manager implementation.
 * @author Paul Ferraro
 * @param  the specification type for a session
 * @param  the specification type for a deployment context
 * @author Paul Ferraro
 */
public interface SessionSpecificationProvider {

	/**
	 * Fabricates a read-only specification facade for the specified session and session manager context.
	 * @param session a session
	 * @param context the container-specific session manager context
	 * @return a container-specific session facade
	 */
	S asSession(ImmutableSession session, C context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy