Package com.vaadin.cdi
Class CdiInstantiator
java.lang.Object
com.vaadin.cdi.AbstractCdiInstantiator
com.vaadin.cdi.CdiInstantiator
- All Implemented Interfaces:
com.vaadin.flow.di.Instantiator,Serializable
Default CDI instantiator.
- See Also:
-
Instantiator- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionCdiInstantiator(jakarta.enterprise.inject.spi.BeanManager beanManager, com.vaadin.flow.server.VaadinService service) -
Method Summary
Modifier and TypeMethodDescription<T extends com.vaadin.flow.component.Component>
TcreateComponent(Class<T> componentClass) jakarta.enterprise.inject.spi.BeanManagerprotected com.vaadin.flow.di.DefaultInstantiatorMethods inherited from class com.vaadin.cdi.AbstractCdiInstantiator
getI18NProvider, getMenuAccessControl, getOrCreate, getServiceInitListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.di.Instantiator
createRouteTarget, getApplicationClass, getApplicationClass, getDependencyFilters, getIndexHtmlRequestListeners
-
Constructor Details
-
CdiInstantiator
public CdiInstantiator(jakarta.enterprise.inject.spi.BeanManager beanManager, com.vaadin.flow.server.VaadinService service)
-
-
Method Details
-
getDelegate
protected com.vaadin.flow.di.DefaultInstantiator getDelegate()- Specified by:
getDelegatein classAbstractCdiInstantiator
-
getBeanManager
public jakarta.enterprise.inject.spi.BeanManager getBeanManager()- Specified by:
getBeanManagerin classAbstractCdiInstantiator
-
createComponent
-