Class BrowserlessGeolocationClientFactory

  • All Implemented Interfaces:
    com.vaadin.flow.component.geolocation.GeolocationClientFactory , java.io.Serializable

    
    public final class BrowserlessGeolocationClientFactory
     implements GeolocationClientFactory
                        

    GeolocationClientFactory that produces an in-memory test client and publishes a GeolocationSimulator on the UI for tests to drive. Wired into Flow's Lookup by MockVaadinHelper.BrowserlessLookupInitializer, scoping registration to the browserless mocking lifecycle instead of leaking through SPI.

    Since:

    1.1

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      GeolocationClient create(UI ui)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrowserlessGeolocationClientFactory

        BrowserlessGeolocationClientFactory()
    • Method Detail

      • create

         GeolocationClient create(UI ui)