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

org.jboss.weld.context.SessionContext Maven / Gradle / Ivy

There is a newer version: 3.0.0.Alpha1
Show newest version
package org.jboss.weld.context;

import java.util.Map;

import javax.enterprise.context.SessionScoped;
import javax.servlet.http.HttpSession;

import org.jboss.weld.context.bound.BoundSessionContext;
import org.jboss.weld.context.http.HttpSessionContext;

/**
 * 

* The built in session context is associated with {@link SessionScoped}. It can be activated, invalidated and deactivated. *

* *

* Weld comes with two implementation of the session context. The {@link HttpSessionContext}, in which conversations are bound * to the {@link HttpSession}, can be injected: *

* *
 * @ Inject @ Http SessionContext sessionContext;
 * 
* *

* Alternatively the {@link BoundSessionContext} in which conversations are bound a {@link Map} can be injected: *

* *
 * @ Inject @ Bound SessionContext sessionContext;
 * 
* * @author Pete Muir * @see org.jboss.weld.context.bound.BoundSessionContext * @see javax.servlet.http.HttpSession * @see javax.enterprise.context.SessionScoped * */ public interface SessionContext extends ManagedContext { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy