public class CdiInstantiator extends Object implements com.vaadin.flow.di.Instantiator
Can be overridden by a @VaadinServiceEnabled
CDI Alternative/Specializes, or can be customized with a Decorator.
Instantiator,
Serialized Form| Constructor and Description |
|---|
CdiInstantiator() |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.i18n.I18NProvider |
getI18NProvider() |
<T> T |
getOrCreate(Class<T> type) |
java.util.stream.Stream<com.vaadin.flow.server.VaadinServiceInitListener> |
getServiceInitListeners() |
boolean |
init(com.vaadin.flow.server.VaadinService service) |
public boolean init(com.vaadin.flow.server.VaadinService service)
init in interface com.vaadin.flow.di.Instantiatorpublic <T> T getOrCreate(Class<T> type)
getOrCreate in interface com.vaadin.flow.di.Instantiatorpublic com.vaadin.flow.i18n.I18NProvider getI18NProvider()
getI18NProvider in interface com.vaadin.flow.di.Instantiatorpublic java.util.stream.Stream<com.vaadin.flow.server.VaadinServiceInitListener> getServiceInitListeners()
getServiceInitListeners in interface com.vaadin.flow.di.InstantiatorCopyright © 2018 Vaadin Ltd. All Rights Reserved.