Uses of Interface
com.vaadin.flow.server.VaadinContext
-
-
Uses of VaadinContext in com.vaadin.base.devserver
Methods in com.vaadin.base.devserver with parameters of type VaadinContext Modifier and Type Method Description BrowserLiveReload
BrowserLiveReloadAccessorImpl. getLiveReload(VaadinContext context)
void
DevModeHandlerManagerImpl. initDevModeHandler(Set<Class<?>> classes, VaadinContext context)
static boolean
DevModeHandlerManagerImpl. isDevModeAlreadyStarted(VaadinContext context)
Shows whetherDevModeHandler
has been already started or not.Constructors in com.vaadin.base.devserver with parameters of type VaadinContext Constructor Description BrowserLauncher(VaadinContext context)
Init a launcher for the given context. -
Uses of VaadinContext in com.vaadin.base.devserver.startup
Methods in com.vaadin.base.devserver.startup with parameters of type VaadinContext Modifier and Type Method Description static DevModeHandler
DevModeInitializer. initDevModeHandler(Set<Class<?>> classes, VaadinContext context)
Initialize the devmode server if not in production mode or compatibility mode.void
DevModeStartupListener. initialize(Set<Class<?>> classes, VaadinContext context)
-
Uses of VaadinContext in com.vaadin.experimental
Methods in com.vaadin.experimental with parameters of type VaadinContext Modifier and Type Method Description static FeatureFlags
FeatureFlags. get(VaadinContext context)
Gets the FeatureFlags for the given Vaadin context. -
Uses of VaadinContext in com.vaadin.flow.di
Methods in com.vaadin.flow.di with parameters of type VaadinContext Modifier and Type Method Description protected Lookup
LookupInitializer. createLookup(VaadinContext context, Map<Class<?>,Collection<Class<?>>> services)
Creates a lookup based on providedservices
.void
AbstractLookupInitializer. initialize(VaadinContext context, Map<Class<?>,Collection<Class<?>>> services, VaadinApplicationInitializationBootstrap bootstrap)
Creates a newLookup
instance, initializes it and passes it to the providedbootstrap
.void
LookupInitializer. initialize(VaadinContext context, Map<Class<?>,Collection<Class<?>>> services, VaadinApplicationInitializationBootstrap bootstrap)
-
Uses of VaadinContext in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal with parameters of type VaadinContext Modifier and Type Method Description static Optional<DevModeHandler>
DevModeHandlerManager. getDevModeHandler(VaadinContext context)
Gets theDevModeHandler
.BrowserLiveReload
BrowserLiveReloadAccessor. getLiveReload(VaadinContext context)
Returns aBrowserLiveReload
instance for the givencontext
.void
DevModeHandlerManager. initDevModeHandler(Set<Class<?>> classes, VaadinContext context)
Starts up a newDevModeHandler
.void
VaadinContextInitializer. initialize(VaadinContext context)
Initializes the Vaadincontext
. -
Uses of VaadinContext in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal with parameters of type VaadinContext Modifier and Type Method Description static List<Class<? extends RouterLayout>>
RouteUtil. getParentLayouts(VaadinContext context, Class<?> component, String path)
Get parent layouts for navigation target according to theRoute
orRouteAlias
annotation.static String
RouteUtil. getRoutePath(VaadinContext context, Class<?> component)
Get the actual route path including all parent layoutRoutePrefix
.static Class<? extends RouterLayout>
RouteUtil. getTopParentLayout(VaadinContext context, Class<?> component, String path)
Get the top most parent layout for navigation target according to theRoute
orRouteAlias
annotation.static String
RouteUtil. resolve(VaadinContext context, Class<?> component)
Gets the effective route path value of the annotated class. -
Uses of VaadinContext in com.vaadin.flow.server
Classes in com.vaadin.flow.server that implement VaadinContext Modifier and Type Class Description class
VaadinServletContext
VaadinContext
that goes withVaadinServletService
.Methods in com.vaadin.flow.server that return VaadinContext Modifier and Type Method Description protected abstract VaadinContext
VaadinService. constructVaadinContext()
ConstructsVaadinContext
for this service.protected VaadinContext
VaadinServletService. constructVaadinContext()
VaadinContext
RouteRegistry. getContext()
Gets the Vaadin context which the registry belongs to.VaadinContext
SessionRouteRegistry. getContext()
VaadinContext
VaadinService. getContext()
ReturnsVaadinContext
for this service.VaadinContext
VaadinConfig. getVaadinContext()
Get the VaadinContext for this configuration.VaadinContext
VaadinServletConfig. getVaadinContext()
Methods in com.vaadin.flow.server with parameters of type VaadinContext Modifier and Type Method Description static AppShellRegistry
AppShellRegistry. getInstance(VaadinContext context)
Returns the instance of the registry, or create a new one if it does not exist yet. -
Uses of VaadinContext in com.vaadin.flow.server.startup
Methods in com.vaadin.flow.server.startup that return VaadinContext Modifier and Type Method Description VaadinContext
ApplicationConfiguration. getContext()
The context which the configuration is based on.VaadinContext
ApplicationRouteRegistry. getContext()
VaadinContext
DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl. getContext()
Methods in com.vaadin.flow.server.startup with parameters of type VaadinContext Modifier and Type Method Description ApplicationConfiguration
ApplicationConfigurationFactory. create(VaadinContext context)
Creates a new instance ofApplicationConfiguration
for the givencontext
.ApplicationConfiguration
DefaultApplicationConfigurationFactory. create(VaadinContext context)
protected DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl
DefaultApplicationConfigurationFactory. doCreate(VaadinContext context, FallbackChunk chunk, Map<String,String> properties)
Creates application configuration instance based on provided data.static ApplicationConfiguration
ApplicationConfiguration. get(VaadinContext context)
Gets a configuration instance for the given {code context}.static ApplicationRouteRegistry
ApplicationRouteRegistry. getInstance(VaadinContext context)
Gets the route registry for the given Vaadin context.protected String
DefaultApplicationConfigurationFactory. getTokenFileFromClassloader(VaadinContext context)
Gets token file from the classpath using the providedcontext
.static void
VaadinAppShellInitializer. init(Set<Class<?>> classes, VaadinContext context)
Initializes theAppShellRegistry
for the application.void
AnnotationValidator. initialize(Set<Class<?>> classes, VaadinContext context)
void
ErrorNavigationTargetInitializer. initialize(Set<Class<?>> classSet, VaadinContext context)
void
RouteRegistryInitializer. initialize(Set<Class<?>> classSet, VaadinContext context)
void
ServletVerifier. initialize(Set<Class<?>> classSet, VaadinContext context)
void
VaadinAppShellInitializer. initialize(Set<Class<?>> classes, VaadinContext context)
void
VaadinContextStartupInitializer. initialize(Set<Class<?>> classSet, VaadinContext context)
Applies this initializer to the given contextvoid
WebComponentConfigurationRegistryInitializer. initialize(Set<Class<?>> classSet, VaadinContext context)
void
WebComponentExporterAwareValidator. initialize(Set<Class<?>> classSet, VaadinContext context)
protected Class<?>
AbstractRouteRegistryInitializer. validatePwaClass(VaadinContext context, Stream<Class<?>> routeClasses)
Validate PWA annotations of the potential route classes stream, search for properly annotated PWA class and return it, or null if none existing.protected Set<Class<? extends Component>>
AbstractRouteRegistryInitializer. validateRouteClasses(VaadinContext context, Stream<Class<?>> routeClasses)
Validate the potential route classes stream and return them as a set.Constructors in com.vaadin.flow.server.startup with parameters of type VaadinContext Constructor Description ApplicationConfigurationImpl(VaadinContext context, FallbackChunk fallbackChunk, Map<String,String> properties)
ApplicationRouteRegistry(VaadinContext context)
Creates a new uninitialized route registry. -
Uses of VaadinContext in com.vaadin.flow.server.webcomponent
Methods in com.vaadin.flow.server.webcomponent with parameters of type VaadinContext Modifier and Type Method Description static WebComponentConfigurationRegistry
WebComponentConfigurationRegistry. getInstance(VaadinContext context)
Get WebComponentRegistry instance for given servlet context.
-