public interface ApplicationContext extends 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;
SingletonContext
,
ApplicationScoped
Copyright © 2018 JBoss by Red Hat. All rights reserved.