Interface DependentContext

All Superinterfaces:
jakarta.enterprise.context.spi.AlterableContext, jakarta.enterprise.context.spi.Context

public interface DependentContext extends jakarta.enterprise.context.spi.AlterableContext

The built in dependent context, associated with Dependent. It is always active.

Weld comes with one Dependent context which can be injected using:

 @Inject
 DependentContext dependentContext;
 
Author:
Pete Muir
  • Method Summary

    Methods inherited from interface jakarta.enterprise.context.spi.AlterableContext

    destroy

    Methods inherited from interface jakarta.enterprise.context.spi.Context

    get, get, getScope, isActive