Uses of Class
com.vaadin.flow.server.VaadinService
-
-
Uses of VaadinService in com.vaadin.base.devserver
Methods in com.vaadin.base.devserver with parameters of type VaadinService Modifier and Type Method Description BrowserLiveReload
BrowserLiveReloadAccessorImpl. getLiveReload(VaadinService service)
-
Uses of VaadinService in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine with parameters of type VaadinService Modifier and Type Method Description static CollaborationEngine
CollaborationEngine. configure(VaadinService vaadinService, CollaborationEngineConfiguration configuration)
Sets the configuration for the Collaboration Engine associated with the given Vaadin service.static CollaborationEngine
CollaborationEngine. getInstance(VaadinService vaadinService)
Gets theCollaborationEngine
instance from the providedVaadinService
. -
Uses of VaadinService in com.vaadin.flow.component
Methods in com.vaadin.flow.component with parameters of type VaadinService Modifier and Type Method Description static ComponentMetaData.DependencyInfo
ComponentUtil. getDependencies(VaadinService service, Class<? extends Component> componentClass)
Gets the dependencies for the given class, defined using annotations (JavaScript
,StyleSheet
andUses
). -
Uses of VaadinService in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal with parameters of type VaadinService Modifier and Type Method Description ComponentMetaData.DependencyInfo
ComponentMetaData. getDependencyInfo(VaadinService service)
-
Uses of VaadinService in com.vaadin.flow.component.littemplate
Methods in com.vaadin.flow.component.littemplate with parameters of type VaadinService Modifier and Type Method Description static String
BundleLitParser. getSourceFromStatistics(String fileName, elemental.json.JsonObject statistics, VaadinService service)
Get a module source from the statistics Json file generated by webpack.LitTemplateParser.TemplateData
LitTemplateParser. getTemplateContent(Class<? extends LitTemplate> clazz, String tag, VaadinService service)
Gets the template data which contains a JSOUPElement
representing the template content and the template uri.Constructors in com.vaadin.flow.component.littemplate with parameters of type VaadinService Constructor Description LitTemplate(LitTemplateParser parser, VaadinService service)
Creates the component component mapped to a LitElement using the providedparser
andservice
.LitTemplateInitializer(LitTemplate template, VaadinService service)
Creates a new initializer instance. -
Uses of VaadinService in com.vaadin.flow.component.littemplate.internal
Methods in com.vaadin.flow.component.littemplate.internal with parameters of type VaadinService Modifier and Type Method Description protected String
LitTemplateParserImpl. getSourcesFromTemplate(VaadinService service, String tag, String url)
Finds the JavaScript sources for given tag.LitTemplateParser.TemplateData
LitTemplateParserImpl. getTemplateContent(Class<? extends LitTemplate> clazz, String tag, VaadinService service)
-
Uses of VaadinService in com.vaadin.flow.component.polymertemplate
Methods in com.vaadin.flow.component.polymertemplate with parameters of type VaadinService Modifier and Type Method Description static String
BundleParser. getSourceFromStatistics(String fileName, elemental.json.JsonObject statistics, VaadinService service)
Deprecated.Get a module source from the statistics Json file generated by webpack.protected String
NpmTemplateParser. getSourcesFromTemplate(VaadinService service, String tag, String url)
Deprecated.Finds the JavaScript sources for given tag.TemplateParser.TemplateData
NpmTemplateParser. getTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)
Deprecated.TemplateParser.TemplateData
TemplateParser. getTemplateContent(Class<? extends PolymerTemplate<?>> clazz, String tag, VaadinService service)
Deprecated.Gets the template data which contains a JSOUPElement
representing the template content and the template uri.Constructors in com.vaadin.flow.component.polymertemplate with parameters of type VaadinService Constructor Description PolymerTemplate(TemplateParser parser, VaadinService service)
Deprecated.Creates the component that is responsible for Polymer template functionality using the providedparser
.TemplateInitializer(PolymerTemplate<?> template, TemplateParser parser, VaadinService service)
Deprecated.Creates a new initializer instance. -
Uses of VaadinService in com.vaadin.flow.di
Methods in com.vaadin.flow.di with parameters of type VaadinService Modifier and Type Method Description Instantiator
InstantiatorFactory. createInstantitor(VaadinService service)
Create anInstantiator
using the providedservice
.boolean
DefaultInstantiator. init(VaadinService service)
boolean
Instantiator. init(VaadinService service)
Deprecated.TheInstantiator
instance should be created by anInstantiatorFactory
which should just returnnull
if the providedservice
can't be handled by itConstructors in com.vaadin.flow.di with parameters of type VaadinService Constructor Description DefaultInstantiator(VaadinService service)
Creates a new instantiator for the given service. -
Uses of VaadinService in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal with parameters of type VaadinService Modifier and Type Method Description static Optional<DevModeHandler>
DevModeHandlerManager. getDevModeHandler(VaadinService service)
Gets theDevModeHandler
.BrowserLiveReload
BrowserLiveReloadAccess. getLiveReload(VaadinService service)
Deprecated.Returns aBrowserLiveReload
instance for the givenservice
.default BrowserLiveReload
BrowserLiveReloadAccessor. getLiveReload(VaadinService service)
Returns aBrowserLiveReload
instance for the givenservice
.static Optional<BrowserLiveReload>
BrowserLiveReloadAccessor. getLiveReloadFromService(VaadinService service)
Create aBrowserLiveReload
if factory available. -
Uses of VaadinService in com.vaadin.flow.server
Subclasses of VaadinService in com.vaadin.flow.server Modifier and Type Class Description class
VaadinServletService
A service implementation connected to aVaadinServlet
.Methods in com.vaadin.flow.server that return VaadinService Modifier and Type Method Description static VaadinService
VaadinService. getCurrent()
Gets the currently used Vaadin service.VaadinService
BootstrapHandler.BootstrapContext. getService()
Gets the Vaadin service.VaadinService
SessionDestroyEvent. getService()
Gets the Vaadin service from which the even originates.VaadinService
SessionInitEvent. getService()
Gets the Vaadin service from which this event originates.VaadinService
SystemMessagesInfo. getService()
Returns the service this SystemMessages request comes from.VaadinService
VaadinRequest. getService()
Gets the vaadin service for the context of this request.VaadinService
VaadinResponse. getService()
Gets the vaadin service for the context of this response.VaadinService
VaadinSession. getService()
VaadinService
ServiceDestroyEvent. getSource()
VaadinService
ServiceInitEvent. getSource()
VaadinService
SessionDestroyEvent. getSource()
VaadinService
SessionInitEvent. getSource()
VaadinService
UIInitEvent. getSource()
Methods in com.vaadin.flow.server with parameters of type VaadinService Modifier and Type Method Description void
InlineTargets. addInlineDependency(Inline inline, VaadinService service)
Inline contents from classpath file to head of initial page.StaticFileHandler
StaticFileHandlerFactory. createHandler(VaadinService service)
Creates a new instance ofStaticFileHandler
for the givenservice
.protected StaticFileHandler
VaadinServlet. createStaticFileHandler(VaadinService vaadinService)
Creates a new instance ofStaticFileHandler
, that is responsible to find and serve static resources.List<Dependency>
DependencyFilter. filter(List<Dependency> dependencies, VaadinService service)
Filters the list of dependencies and returns a (possibly) updated version.protected static boolean
VaadinSession. hasLock(VaadinService service, WrappedSession session)
Checks if the current thread has exclusive access to the given WrappedSession.void
VaadinSession. refreshTransients(WrappedSession wrappedSession, VaadinService vaadinService)
Refreshes the transient fields of the session to ensure they are up to date.static void
VaadinService. setCurrent(VaadinService service)
Sets the given Vaadin service as the current service.protected static void
BootstrapHandler. setupPwa(org.jsoup.nodes.Document document, VaadinService service)
protected static void
BootstrapHandler. showWebpackErrors(VaadinService service, org.jsoup.nodes.Document document)
Constructors in com.vaadin.flow.server with parameters of type VaadinService Constructor Description ServiceDestroyEvent(VaadinService service)
Creates a new event for the given service.ServiceInitEvent(VaadinService service)
Creates a new service init event for a givenVaadinService
and theRequestHandler
that will be used by the service.SessionDestroyEvent(VaadinService service, VaadinSession session)
Creates a new event.SessionInitEvent(VaadinService service, VaadinSession session, VaadinRequest request)
Creates a new event.StaticFileServer(VaadinService vaadinService)
Constructs a file server.SystemMessagesInfo(Locale locale, VaadinRequest request, VaadinService service)
Creates an instance based on the given locale, request and service.UIInitEvent(UI ui, VaadinService service)
Constructs a prototypical Event.VaadinSession(VaadinService service)
Creates a new VaadinSession tied to a VaadinService. -
Uses of VaadinService in com.vaadin.flow.server.communication
Methods in com.vaadin.flow.server.communication that return VaadinService Modifier and Type Method Description VaadinService
UidlWriter.ResolveContext. getService()
Gets the related Vaadin service.Constructors in com.vaadin.flow.server.communication with parameters of type VaadinService Constructor Description ResolveContext(VaadinService service, WebBrowser browser)
Creates a new context. -
Uses of VaadinService in com.vaadin.flow.server.frontend
Methods in com.vaadin.flow.server.frontend with parameters of type VaadinService Modifier and Type Method Description static void
FrontendUtils. clearCachedStatsContent(VaadinService service)
Clears thestats.json
cache within thisVaadinContext
.static InputStream
FrontendUtils. getFrontendFileFromDevModeHandler(VaadinService service, String path)
Get the contents of a frontend file from the running dev server.static String
FrontendUtils. getIndexHtmlContent(VaadinService service)
Gets the content of thefrontend/index.html
file which is served by webpack or vite in dev-mode and read from classpath in production mode.static String
FrontendUtils. getStatsAssetsByChunkName(VaadinService service)
Load the asset chunks fromstats.json
.static String
FrontendUtils. getWebComponentHtmlContent(VaadinService service)
Gets the content of thefrontend/web-component.html
file which is served by webpack or vite in dev-mode and read from classpath in production mode.
-