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

org.jboss.weld.context.bound.BoundConversationContext Maven / Gradle / Ivy

There is a newer version: 6.0.0.Beta4
Show newest version
package org.jboss.weld.context.bound;

import java.util.Map;

import org.jboss.weld.context.BoundContext;
import org.jboss.weld.context.ConversationContext;

/**
 * 

* A conversation context which can be bound to a pair of Maps encapsulated by * {@link BoundRequest}. The context is automatically attached to the bound * request on activation, and detached when {@link #invalidate()} is called. *

* *

* The {@link BoundConversationContext} is detachable, and transient * conversations are only attached at the end of a request. *

* *

* This context is not thread safe, and provides no thread safety for the * underlying map. A thread-safe map can be used to back the context - in this * case the map can be used as an underlying store in multiple threads safely. *

* * * @author Pete Muir * */ public interface BoundConversationContext extends ConversationContext, BoundContext { /** * Destroy all conversations in the session. * * @param session the session for which to destroy all conversations * @return */ public boolean destroy(Map session); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy