Modifier and Type | Method and Description |
---|---|
BrowserLiveReload |
BrowserLiveReloadAccessorImpl.getLiveReload(VaadinContext context) |
void |
DevModeHandlerManagerImpl.initDevModeHandler(Set<Class<?>> classes,
VaadinContext context) |
static boolean |
DevModeHandlerManagerImpl.isDevModeAlreadyStarted(VaadinContext context)
Shows whether
DevModeHandler has been already started or not. |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static FeatureFlags |
FeatureFlags.get(VaadinContext context)
Gets the FeatureFlags for the given Vaadin context.
|
Modifier and Type | Method and Description |
---|---|
protected Lookup |
LookupInitializer.createLookup(VaadinContext context,
Map<Class<?>,Collection<Class<?>>> services)
Creates a lookup based on provided
services . |
void |
LookupInitializer.initialize(VaadinContext context,
Map<Class<?>,Collection<Class<?>>> services,
VaadinApplicationInitializationBootstrap bootstrap) |
void |
AbstractLookupInitializer.initialize(VaadinContext context,
Map<Class<?>,Collection<Class<?>>> services,
VaadinApplicationInitializationBootstrap bootstrap)
Creates a new
Lookup instance, initializes it and passes it to
the provided bootstrap . |
Modifier and Type | Method and Description |
---|---|
static Optional<DevModeHandler> |
DevModeHandlerManager.getDevModeHandler(VaadinContext context)
Gets the
DevModeHandler . |
BrowserLiveReload |
BrowserLiveReloadAccessor.getLiveReload(VaadinContext context)
Returns a
BrowserLiveReload instance for the given
context . |
void |
DevModeHandlerManager.initDevModeHandler(Set<Class<?>> classes,
VaadinContext context)
Starts up a new
DevModeHandler . |
void |
VaadinContextInitializer.initialize(VaadinContext context)
Initializes the Vaadin
context . |
Modifier and Type | Method and Description |
---|---|
static List<Class<? extends RouterLayout>> |
RouteUtil.getParentLayouts(VaadinContext context,
Class<?> component,
String path)
Get parent layouts for navigation target according to the
Route
or RouteAlias annotation. |
static String |
RouteUtil.getRoutePath(VaadinContext context,
Class<?> component)
Get the actual route path including all parent layout
RoutePrefix . |
static Class<? extends RouterLayout> |
RouteUtil.getTopParentLayout(VaadinContext context,
Class<?> component,
String path)
Get the top most parent layout for navigation target according to the
Route or RouteAlias annotation. |
static String |
RouteUtil.resolve(VaadinContext context,
Class<?> component)
Gets the effective route path value of the annotated class.
|
Modifier and Type | Class and Description |
---|---|
class |
VaadinServletContext
VaadinContext that goes with VaadinServletService . |
Modifier and Type | Method and Description |
---|---|
protected VaadinContext |
VaadinServletService.constructVaadinContext() |
protected abstract VaadinContext |
VaadinService.constructVaadinContext()
Constructs
VaadinContext for this service. |
VaadinContext |
VaadinService.getContext()
Returns
VaadinContext for this service. |
VaadinContext |
SessionRouteRegistry.getContext() |
VaadinContext |
RouteRegistry.getContext()
Gets the Vaadin context which the registry belongs to.
|
VaadinContext |
VaadinServletConfig.getVaadinContext() |
VaadinContext |
VaadinConfig.getVaadinContext()
Get the VaadinContext for this configuration.
|
Modifier and Type | Method and Description |
---|---|
static AppShellRegistry |
AppShellRegistry.getInstance(VaadinContext context)
Returns the instance of the registry, or create a new one if it does not
exist yet.
|
Modifier and Type | Method and Description |
---|---|
VaadinContext |
DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl.getContext() |
VaadinContext |
ApplicationRouteRegistry.getContext() |
VaadinContext |
ApplicationConfiguration.getContext()
The context which the configuration is based on.
|
Modifier and Type | Method and Description |
---|---|
ApplicationConfiguration |
DefaultApplicationConfigurationFactory.create(VaadinContext context) |
ApplicationConfiguration |
ApplicationConfigurationFactory.create(VaadinContext context)
Creates a new instance of
ApplicationConfiguration for the given
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 provided
context . |
static void |
VaadinAppShellInitializer.init(Set<Class<?>> classes,
VaadinContext context)
Initializes the
AppShellRegistry for the application. |
void |
WebComponentExporterAwareValidator.initialize(Set<Class<?>> classSet,
VaadinContext context) |
void |
WebComponentConfigurationRegistryInitializer.initialize(Set<Class<?>> classSet,
VaadinContext context) |
void |
VaadinContextStartupInitializer.initialize(Set<Class<?>> classSet,
VaadinContext context)
Applies this initializer to the given context
|
void |
VaadinAppShellInitializer.initialize(Set<Class<?>> classes,
VaadinContext context) |
void |
ServletVerifier.initialize(Set<Class<?>> classSet,
VaadinContext context) |
void |
RouteRegistryInitializer.initialize(Set<Class<?>> classSet,
VaadinContext context) |
void |
ErrorNavigationTargetInitializer.initialize(Set<Class<?>> classSet,
VaadinContext context) |
void |
AnnotationValidator.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.
|
Constructor and Description |
---|
ApplicationConfigurationImpl(VaadinContext context,
FallbackChunk fallbackChunk,
Map<String,String> properties) |
ApplicationRouteRegistry(VaadinContext context)
Creates a new uninitialized route registry.
|
Modifier and Type | Method and Description |
---|---|
static WebComponentConfigurationRegistry |
WebComponentConfigurationRegistry.getInstance(VaadinContext context)
Get WebComponentRegistry instance for given servlet context.
|
Copyright © 2024. All rights reserved.