Package com.vaadin.quarkus.context
Class UIContextWrapper
- java.lang.Object
-
- com.vaadin.quarkus.context.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.
-
-
Constructor Summary
Constructors Constructor Description UIContextWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddestroy(javax.enterprise.context.spi.Contextual<?> contextual)<T> Tget(javax.enterprise.context.spi.Contextual<T> component)<T> Tget(javax.enterprise.context.spi.Contextual<T> component, javax.enterprise.context.spi.CreationalContext<T> creationalContext)Class<? extends Annotation>getScope()io.quarkus.arc.InjectableContext.ContextStategetState()booleanisActive()
-
-
-
Method Detail
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScopein interfacejavax.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:
getin interfacejavax.enterprise.context.spi.Context
-
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> component)
- Specified by:
getin interfacejavax.enterprise.context.spi.Context
-
isActive
public boolean isActive()
- Specified by:
isActivein interfacejavax.enterprise.context.spi.Context
-
destroy
public void destroy(javax.enterprise.context.spi.Contextual<?> contextual)
- Specified by:
destroyin interfacejavax.enterprise.context.spi.AlterableContext
-
destroy
public void destroy()
- Specified by:
destroyin interfaceio.quarkus.arc.InjectableContext
-
getState
public io.quarkus.arc.InjectableContext.ContextState getState()
- Specified by:
getStatein interfaceio.quarkus.arc.InjectableContext
-
-