public interface SingletonContext
extends javax.enterprise.context.spi.AlterableContext
The built in singleton context, associated with Singleton
. It is always active (not managed) and is backed by an
application scoped singleton.
Weld comes with one Singleton context which can be injected using:
@Inject SingletonContext singletonContext;
SingletonContext
,
ApplicationScoped
Copyright © 2013 Seam Framework. All rights reserved.