Package com.vaadin.flow.internal
Class ReflectionCacheHotswapper
java.lang.Object
com.vaadin.flow.internal.ReflectionCacheHotswapper
- All Implemented Interfaces:
VaadinHotswapper
@Priority(2147483647)
public class ReflectionCacheHotswapper
extends Object
implements VaadinHotswapper
Clears all mappings from all reflection caches and related resources when one
or more classes has been changed.
Should run as last, so other hotswappers can still query
ReflectionCache to get previous data before the cache is cleared.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClassesChange(HotswapClassEvent event) Called 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
-
ReflectionCacheHotswapper
public ReflectionCacheHotswapper()
-
-
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 application-wide updates. Operation targeting Vaadin session should be implemented in
VaadinHotswapper.onClassesChange(HotswapClassSessionEvent)method.Currently, the default implementation delegates to the deprecated
VaadinHotswapper.onClassLoadEvent(VaadinService, Set, boolean)method for backward compatibility.- Specified by:
onClassesChangein interfaceVaadinHotswapper- Parameters:
event- the event instance carrying the information about the changed classes.- See Also:
-