Package com.vaadin.quarkus
Class QuarkusInstantiatorFactory
java.lang.Object
com.vaadin.quarkus.QuarkusInstantiatorFactory
- All Implemented Interfaces:
com.vaadin.flow.di.InstantiatorFactory
@ApplicationScoped
public class QuarkusInstantiatorFactory
extends Object
implements com.vaadin.flow.di.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 TypeMethodDescriptioncom.vaadin.flow.di.InstantiatorcreateInstantitor(com.vaadin.flow.server.VaadinService vaadinService) Class<? extends com.vaadin.flow.server.VaadinService> Gets the service class that this instantiator factory is supposed to work with.
-
Constructor Details
-
QuarkusInstantiatorFactory
public QuarkusInstantiatorFactory()
-
-
Method Details
-
createInstantitor
public com.vaadin.flow.di.Instantiator createInstantitor(com.vaadin.flow.server.VaadinService vaadinService) - Specified by:
createInstantitorin interfacecom.vaadin.flow.di.InstantiatorFactory
-
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.
-