Class GeolocationServiceImpl
java.lang.Object
org.broadleafcommerce.core.geolocation.GeolocationServiceImpl
- All Implemented Interfaces:
GeolocationService
@Service("blGeolocationService")
public class GeolocationServiceImpl
extends Object
implements GeolocationService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.env.Environmentprotected Map<String,GeolocationAPI> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GeolocationAPIgetLocationData(String ipAddress) Gets the location data for the passed IP address
-
Field Details
-
env
protected org.springframework.core.env.Environment env -
geolocationMap
-
-
Constructor Details
-
GeolocationServiceImpl
public GeolocationServiceImpl()
-
-
Method Details
-
getLocationData
Description copied from interface:GeolocationServiceGets the location data for the passed IP address- Specified by:
getLocationDatain interfaceGeolocationService- Returns:
-
getGeolocationAPI
-