org.jboss.weld.environment.se.contexts
Class ThreadContext
java.lang.Object
org.jboss.weld.context.AbstractContext
org.jboss.weld.context.AbstractManagedContext
org.jboss.weld.context.AbstractUnboundContext
org.jboss.weld.environment.se.contexts.ThreadContext
- All Implemented Interfaces:
- javax.enterprise.context.spi.Context, org.jboss.weld.context.ManagedContext
public class ThreadContext
- extends AbstractUnboundContext
The thread context. Works with @ThreadScoped beans, maintaining a separate
context for each thread.
- Author:
- Nicklas Karlsson, Peter Royle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.enterprise.context.spi.Context |
get, get |
ThreadContext
public ThreadContext()
getScope
public Class<? extends Annotation> getScope()
activate
public void activate()
- Specified by:
activate
in interface org.jboss.weld.context.ManagedContext
- Overrides:
activate
in class AbstractManagedContext
Copyright © 2013 Seam Framework. All Rights Reserved.