Package com.vaadin.cdi
Class AbstractCdiInstantiator
- java.lang.Object
-
- com.vaadin.cdi.AbstractCdiInstantiator
-
- All Implemented Interfaces:
com.vaadin.flow.di.Instantiator,Serializable
- Direct Known Subclasses:
CdiInstantiator
public abstract class AbstractCdiInstantiator extends Object implements com.vaadin.flow.di.Instantiator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractCdiInstantiator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract javax.enterprise.inject.spi.BeanManagergetBeanManager()com.vaadin.flow.i18n.I18NProvidergetI18NProvider()<T> TgetOrCreate(Class<T> type)abstract Class<? extends com.vaadin.flow.server.VaadinService>getServiceClass()Stream<com.vaadin.flow.server.VaadinServiceInitListener>getServiceInitListeners()booleaninit(com.vaadin.flow.server.VaadinService service)
-
-
-
Method Detail
-
getServiceClass
public abstract Class<? extends com.vaadin.flow.server.VaadinService> getServiceClass()
-
getBeanManager
public abstract javax.enterprise.inject.spi.BeanManager getBeanManager()
-
init
public boolean init(com.vaadin.flow.server.VaadinService service)
- Specified by:
initin interfacecom.vaadin.flow.di.Instantiator
-
getOrCreate
public <T> T getOrCreate(Class<T> type)
- Specified by:
getOrCreatein interfacecom.vaadin.flow.di.Instantiator
-
getI18NProvider
public com.vaadin.flow.i18n.I18NProvider getI18NProvider()
- Specified by:
getI18NProviderin interfacecom.vaadin.flow.di.Instantiator
-
getServiceInitListeners
public Stream<com.vaadin.flow.server.VaadinServiceInitListener> getServiceInitListeners()
- Specified by:
getServiceInitListenersin interfacecom.vaadin.flow.di.Instantiator
-
-