Package com.vaadin.quarkus
Class QuarkusInstantiatorFactory
java.lang.Object
com.vaadin.quarkus.QuarkusInstantiatorFactory
- All Implemented Interfaces:
InstantiatorFactory
@ApplicationScoped
public class QuarkusInstantiatorFactory
extends Object
implements InstantiatorFactory
Instantiator factory implementation based on Quarkus DI feature.
Quarkus DI solution (also called ArC) is based on the Contexts and Dependency
Injection for Java 2.0 specification, but it is not a full CDI
implementation. Only a subset of the CDI features is implemented.
See Quarkus CDI
Reference for further details.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstantitor(VaadinService vaadinService) Create anInstantiatorusing the providedservice.Class<? extends VaadinService> Gets the service class that this instantiator factory is supposed to work with.
-
Constructor Details
-
QuarkusInstantiatorFactory
public QuarkusInstantiatorFactory()
-
-
Method Details
-
createInstantitor
Description copied from interface:InstantiatorFactoryCreate anInstantiatorusing the providedservice.- Specified by:
createInstantitorin interfaceInstantiatorFactory- Parameters:
vaadinService- aVaadinServiceto create anInstantiatorfor- Returns:
- an instantiator for the service or null if this factory is not able to create an instantiator for the provided service
-
getServiceClass
Gets the service class that this instantiator factory is supposed to work with.- Returns:
- the service class this instantiator factory is supposed to work with.
-