use of org.jboss.weld.contexts.AbstractConversationContext in project core by weld.
the class ConversationContextActivator method sessionCreated.
public void sessionCreated(HttpSession session) {
HttpConversationContext httpConversationContext = httpConversationContext();
if (httpConversationContext instanceof AbstractConversationContext) {
AbstractConversationContext<?, ?> abstractConversationContext = (AbstractConversationContext<?, ?>) httpConversationContext;
abstractConversationContext.sessionCreated();
}
}
use of org.jboss.weld.contexts.AbstractConversationContext in project core by weld.
the class ConversationImpl method notifyConversationContext.
private void notifyConversationContext() {
ConversationContext context = getActiveConversationContext();
if (context instanceof AbstractConversationContext) {
AbstractConversationContext<?, ?> abstractConversationContext = (AbstractConversationContext<?, ?>) context;
abstractConversationContext.conversationPromotedToLongRunning(this);
}
}
Aggregations