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
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default T
create(SyntheticCreationalContext<T> context)
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
-
-
-
Method Detail
-
create
default T create(SyntheticCreationalContext<T> context)
- 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
-
-