Class UIContextWrapper

  • All Implemented Interfaces:
    io.quarkus.arc.InjectableContext, javax.enterprise.context.spi.AlterableContext, javax.enterprise.context.spi.Context

    public class UIContextWrapper
    extends Object
    implements io.quarkus.arc.InjectableContext
    Used to bind multiple scope annotations to a single context. Will delegate all context-related operations to it's underlying instance, apart from getting the scope of the context.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.quarkus.arc.InjectableContext

        io.quarkus.arc.InjectableContext.ContextState
    • Constructor Detail

      • UIContextWrapper

        public UIContextWrapper()
    • Method Detail

      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface javax.enterprise.context.spi.Context
      • get

        public <T> T get​(javax.enterprise.context.spi.Contextual<T> component,
                         javax.enterprise.context.spi.CreationalContext<T> creationalContext)
        Specified by:
        get in interface javax.enterprise.context.spi.Context
      • get

        public <T> T get​(javax.enterprise.context.spi.Contextual<T> component)
        Specified by:
        get in interface javax.enterprise.context.spi.Context
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface javax.enterprise.context.spi.Context
      • destroy

        public void destroy​(javax.enterprise.context.spi.Contextual<?> contextual)
        Specified by:
        destroy in interface javax.enterprise.context.spi.AlterableContext
      • destroy

        public void destroy()
        Specified by:
        destroy in interface io.quarkus.arc.InjectableContext
      • getState

        public io.quarkus.arc.InjectableContext.ContextState getState()
        Specified by:
        getState in interface io.quarkus.arc.InjectableContext