Package com.vaadin.flow.hotswap.impl
Class ErrorViewHotswapper
java.lang.Object
com.vaadin.flow.hotswap.impl.ErrorViewHotswapper
- All Implemented Interfaces:
VaadinHotswapper
Triggers UI refresh when hotswap occurs while an error view is displayed.
This ensures that fixing a broken class during development will refresh the
error page and attempt to re-navigate to the original location.
For internal use only. May be renamed or removed in a future release.
- Since:
- 25.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by Vaadin hotswap entry point when one or more application classes have been updated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.hotswap.VaadinHotswapper
onClassesChange, onClassLoadEvent, onClassLoadEvent, onHotswapComplete, onInit, onResourcesChange
-
Constructor Details
-
ErrorViewHotswapper
public ErrorViewHotswapper()
-
-
Method Details
-
onClassesChange
Description copied from interface:VaadinHotswapperCalled by Vaadin hotswap entry point when one or more application classes have been updated.This method is meant to perform updates at
VaadinSessionlevel. Operation targeting the entire application should be implemented inVaadinHotswapper.onClassesChange(HotswapClassEvent)method.Currently, the default implementation delegates to the deprecated
VaadinHotswapper.onClassLoadEvent(VaadinSession, Set, boolean)method for backward compatibility.- Specified by:
onClassesChangein interfaceVaadinHotswapper- Parameters:
event- the event instance carrying the information about the changed classes.- See Also:
-