Interface GeolocationClientFactory
- All Superinterfaces:
Serializable
Framework internal. Factory SPI that produces
GeolocationClient instances per UI, resolved via
Lookup when a Geolocation facade is constructed. When a
factory is registered the resulting client replaces the built-in
browser-backed client for every UI in the application; when none is,
Geolocation uses the browser-backed client.
Used by external browserless test drivers to swap the production wire client for an in-memory driver in environments where package-private cross-JAR access is unreliable (split-classloader topologies such as Quarkus). Application code does not reference this interface directly. May be renamed or removed in a future release.
-
Method Summary
-
Method Details
-
create
Creates aGeolocationClientfor the given UI. Called once per UI, the first timeUI.getGeolocation()is invoked.- Parameters:
ui- the UI for which the client is created- Returns:
- a client that will receive every
Geolocationcall for that UI; never null
-