Package com.vaadin.quarkus.context
Class ContextualInstanceInfo<T>
java.lang.Object
com.vaadin.quarkus.context.ContextualInstanceInfo<T>
- Type Parameters:
T- the type of the contextual instance
- All Implemented Interfaces:
Serializable
A copy of org.apache.deltaspike.core.util.context.ContextualInstanceInfo.
This data holder contains all necessary data you need to store a Contextual
Instance in a CDI Context.
- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the contextual instance.jakarta.enterprise.context.spi.CreationalContext<T> Gets the creational context of the bean.voidsetContextualInstance(T contextualInstance) Sets the contextual instance.voidsetCreationalContext(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) Sets the creational context of the bean.
-
Constructor Details
-
ContextualInstanceInfo
public ContextualInstanceInfo()
-
-
Method Details
-
getCreationalContext
Gets the creational context of the bean.- Returns:
- the CreationalContext of the bean
-
setCreationalContext
public void setCreationalContext(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) Sets the creational context of the bean.- Parameters:
creationalContext- the CreationalContext of the bean
-
getContextualInstance
Gets the contextual instance.- Returns:
- the contextual instance itself
-
setContextualInstance
Sets the contextual instance.- Parameters:
contextualInstance- the contextual instance itself
-