org.jboss.weld.context
Interface ApplicationContext

All Superinterfaces:
javax.enterprise.context.spi.Context

public interface ApplicationContext
extends javax.enterprise.context.spi.Context

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;
 

Author:
Pete Muir
See Also:
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

invalidate

void invalidate()
Invalidate the context, causing all bean instances to be destroyed.



Copyright © 2013 Seam Framework. All Rights Reserved.