|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationContext
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| Method Summary | |
|---|---|
void |
invalidate()
Invalidate the context, causing all bean instances to be destroyed. |
| Methods inherited from interface javax.enterprise.context.spi.Context |
|---|
get, get, getScope, isActive |
| Method Detail |
|---|
void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||