Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.context;
 

The built in application context, associated with javax.enterprise.context.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;
 

public interface ApplicationContext extends AlterableContext {

    
Invalidate the context, causing all bean instances to be destroyed.
    void invalidate();
New to GrepCode? Check out our FAQ X