Modifier and Type | Method and Description |
---|---|
static ComponentMetaData.DependencyInfo |
ComponentUtil.getDependencies(VaadinService service,
Class<? extends Component> componentClass)
Gets the dependencies for the given class, defined using annotations (
HtmlImport , JavaScript , StyleSheet and
Uses ). |
Modifier and Type | Method and Description |
---|---|
ComponentMetaData.DependencyInfo |
ComponentMetaData.getDependencyInfo(VaadinService service)
Gets the dependencies, defined using annotations (
JsModule ,
HtmlImport , JavaScript , StyleSheet and
Uses ). |
Modifier and Type | Method and Description |
---|---|
TemplateParser.TemplateData |
TemplateParser.getTemplateContent(Class<? extends PolymerTemplate<?>> clazz,
String tag,
VaadinService service)
Gets the template data which contains a JSOUP
Element
representing the template content and the template uri. |
TemplateParser.TemplateData |
NpmTemplateParser.getTemplateContent(Class<? extends PolymerTemplate<?>> clazz,
String tag,
VaadinService service) |
TemplateParser.TemplateData |
DefaultTemplateParser.getTemplateContent(Class<? extends PolymerTemplate<?>> clazz,
String tag,
VaadinService service) |
protected boolean |
NpmTemplateParser.isStatsFileReadNeeded(VaadinService service)
Check status to see if stats.json needs to be loaded and parsed.
|
Constructor and Description |
---|
PolymerTemplate(TemplateParser parser,
VaadinService service)
Creates the component that is responsible for Polymer template
functionality using the provided
parser . |
TemplateInitializer(PolymerTemplate<?> template,
TemplateParser parser,
VaadinService service)
Creates a new initializer instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Instantiator.init(VaadinService service)
Initializes this instantiator.
|
boolean |
DefaultInstantiator.init(VaadinService service) |
Constructor and Description |
---|
DefaultInstantiator(VaadinService service)
Creates a new instantiator for the given service.
|
Modifier and Type | Method and Description |
---|---|
BrowserLiveReload |
BrowserLiveReloadAccess.getLiveReload(VaadinService service)
Returns a
BrowserLiveReload instance for the given
service . |
Modifier and Type | Class and Description |
---|---|
class |
VaadinServletService
A service implementation connected to a
VaadinServlet . |
Modifier and Type | Method and Description |
---|---|
static VaadinService |
VaadinService.getCurrent()
Gets the currently used Vaadin service.
|
VaadinService |
VaadinSession.getService() |
VaadinService |
VaadinResponse.getService()
Gets the vaadin service for the context of this response.
|
VaadinService |
VaadinRequest.getService()
Gets the vaadin service for the context of this request.
|
VaadinService |
SystemMessagesInfo.getService()
Returns the service this SystemMessages request comes from.
|
VaadinService |
SessionInitEvent.getService()
Gets the Vaadin service from which this event originates.
|
VaadinService |
SessionDestroyEvent.getService()
Gets the Vaadin service from which the even originates.
|
VaadinService |
DependencyFilter.FilterContext.getService()
Gets the related Vaadin service.
|
VaadinService |
UIInitEvent.getSource() |
VaadinService |
SessionInitEvent.getSource() |
VaadinService |
SessionDestroyEvent.getSource() |
VaadinService |
ServiceInitEvent.getSource() |
VaadinService |
ServiceDestroyEvent.getSource() |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
FilterContext(VaadinService service,
WebBrowser browser)
Creates a new context for the given session.
|
ServiceDestroyEvent(VaadinService service)
Creates a new event for the given service.
|
ServiceInitEvent(VaadinService service)
Creates a new service init event for a given
VaadinService and
the RequestHandler 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
VaadinService |
UidlWriter.ResolveContext.getService()
Gets the related Vaadin service.
|
Constructor and Description |
---|
ResolveContext(VaadinService service,
WebBrowser browser,
AbstractTheme theme)
Creates a new context.
|
Modifier and Type | Method and Description |
---|---|
static String |
FrontendUtils.getStatsAssetsByChunkName(VaadinService service)
Load the asset chunks from stats.json.
|
static String |
FrontendUtils.getStatsContent(VaadinService service)
Gets the content of the
stats.json file produced by webpack. |
static String |
FrontendUtils.getStatsHash(VaadinService service)
Get the latest has for the stats file in development mode.
|
Modifier and Type | Method and Description |
---|---|
Stream<BundleDependencyFilter> |
BundleFilterFactory.createFilters(VaadinService service)
Creates bundle filters for the given service.
|
Copyright © 2020. All rights reserved.