Package com.vaadin.base.devserver
Class BrowserLiveReloadAccessorImpl
java.lang.Object
com.vaadin.base.devserver.BrowserLiveReloadAccessorImpl
- All Implemented Interfaces:
BrowserLiveReloadAccessor
Default implementation for
BrowserLiveReloadAccessor
that stores the
instance in the Vaadin context.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLiveReload
(VaadinContext context) Returns aBrowserLiveReload
instance for the givencontext
.getLiveReload
(VaadinService service) Returns aBrowserLiveReload
instance for the givenservice
.
-
Constructor Details
-
BrowserLiveReloadAccessorImpl
public BrowserLiveReloadAccessorImpl()
-
-
Method Details
-
getLiveReload
Description copied from interface:BrowserLiveReloadAccessor
Returns aBrowserLiveReload
instance for the givencontext
.- Specified by:
getLiveReload
in interfaceBrowserLiveReloadAccessor
- Parameters:
context
- a Vaadin context- Returns:
- a
BrowserLiveReload
instance or null if disabled
-
getLiveReload
Description copied from interface:BrowserLiveReloadAccessor
Returns aBrowserLiveReload
instance for the givenservice
.- Specified by:
getLiveReload
in interfaceBrowserLiveReloadAccessor
- Parameters:
service
- a Vaadin service- Returns:
- a
BrowserLiveReload
instance or null if disabled
-