Package io.quarkus.arc
Interface BeanCreator<T>
- Type Parameters:
T
-
public interface BeanCreator<T>
This interface is used by synthetic beans to produce a contextual instance.
- See Also:
-
InjectableBean
Contextual.create(CreationalContext)
-
Method Summary
-
Method Details
-
create
- Parameters:
context
-- Returns:
- the contextual instance
-
create
@Deprecated(forRemoval=true, since="3.0") default T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext, Map<String, Object> params) Deprecated, for removal: This API element is subject to removal in a future version.Usecreate(SyntheticCreationalContext)
instead- Parameters:
creationalContext
-params
-- Returns:
- the contextual instance
-
create(SyntheticCreationalContext)
instead