Package org.jboss.weld.context
Interface SessionContext
-
- All Superinterfaces:
AlterableContext,Context,ManagedContext,WeldAlterableContext
- All Known Subinterfaces:
BoundSessionContext,HttpSessionContext
- All Known Implementing Classes:
BoundSessionContextImpl
public interface SessionContext extends ManagedContext
The built in session context is associated with
SessionScoped. It can be activated, invalidated and deactivated.Weld comes with two implementation of the session context. The
HttpSessionContext, in which conversations are bound to theHttpSession, can be injected:@ Inject @ Http SessionContext sessionContext;
Alternatively the
BoundSessionContextin which conversations are bound aMapcan be injected:@ Inject @ Bound SessionContext sessionContext;
- Author:
- Pete Muir
- See Also:
BoundSessionContext,HttpSession,SessionScoped
-
-
Method Summary
-
Methods inherited from interface javax.enterprise.context.spi.AlterableContext
destroy
-
Methods inherited from interface org.jboss.weld.context.ManagedContext
activate, deactivate, invalidate
-
Methods inherited from interface org.jboss.weld.context.WeldAlterableContext
clearAndSet, getAllContextualInstances
-
-