org.jboss.weld.context.SingletonContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-osgi-bundle Show documentation
Show all versions of weld-osgi-bundle Show documentation
Weld runtime packaged as an OSGi bundle
package org.jboss.weld.context;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.spi.Context;
/**
*
* The built in singleton context, associated with {@link 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;
*
*
* @author Pete Muir
* @see SingletonContext
* @see ApplicationScoped
*
*/
public interface SingletonContext extends Context
{
}