Package dyntabs.scope
Class TabScopedContextHolder.BeanInstance<T>
java.lang.Object
dyntabs.scope.TabScopedContextHolder.BeanInstance<T>
- Type Parameters:
T- the bean type
- Enclosing class:
TabScopedContextHolder
Internal class that stores a bean instance together with its creational context.
The creational context is needed for proper bean destruction.
-
Constructor Summary
ConstructorsConstructorDescriptionBeanInstance(T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) Creates a new BeanInstance. -
Method Summary
-
Constructor Details
-
Method Details
-
getInstance
- Returns:
- the bean instance
-
getCreationalContext
- Returns:
- the CDI creational context
-