Class SignalFieldTransfer

java.lang.Object
com.vaadin.flow.internal.SignalFieldTransfer
All Implemented Interfaces:
Serializable

public final class SignalFieldTransfer extends Object implements Serializable
Transfers local signal values from an old view instance to a new view instance during hotswap refresh.

For internal use only. May be renamed or removed in a future release.

See Also:
  • Constructor Details

    • SignalFieldTransfer

      public SignalFieldTransfer()
  • Method Details

    • transferLocalSignalValues

      public static void transferLocalSignalValues(HasElement oldInstance, HasElement newInstance)
      Transfers local signal field values from the old instance to the new instance by matching fields by name and type.
      Parameters:
      oldInstance - the old view instance being replaced
      newInstance - the new view instance being created