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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLiveReload(VaadinContext context) Returns aBrowserLiveReloadinstance for the givencontext.getLiveReload(VaadinService service) Returns aBrowserLiveReloadinstance for the givenservice.
-
Constructor Details
-
BrowserLiveReloadAccessorImpl
public BrowserLiveReloadAccessorImpl()
-
-
Method Details
-
getLiveReload
Description copied from interface:BrowserLiveReloadAccessorReturns aBrowserLiveReloadinstance for the givencontext.- Specified by:
getLiveReloadin interfaceBrowserLiveReloadAccessor- Parameters:
context- a Vaadin context- Returns:
- a
BrowserLiveReloadinstance or null if disabled
-
getLiveReload
Description copied from interface:BrowserLiveReloadAccessorReturns aBrowserLiveReloadinstance for the givenservice.- Specified by:
getLiveReloadin interfaceBrowserLiveReloadAccessor- Parameters:
service- a Vaadin service- Returns:
- a
BrowserLiveReloadinstance or null if disabled
-