public interface ApplicationContext
extends javax.enterprise.context.spi.AlterableContext
The built in application context, associated with ApplicationScoped. It is always active (not managed) and is backed
by an application scoped singleton.
Weld comes with one Application context which can be injected using:
@Inject ApplicationContext applicationContext;
SingletonContext,
ApplicationScoped| Modifier and Type | Method and Description |
|---|---|
void |
invalidate()
Invalidate the context, causing all bean instances to be destroyed.
|
Copyright © 2008-2013 Seam Framework. All Rights Reserved.