Package org.localify.common.config.beans
Class GeoIpConfig
java.lang.Object
org.localify.common.config.beans.GeoIpConfig
Configuration for GeoIP-related beans.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongeoIpService(LocalifyProperties props) Creates a GeoIpService bean.
-
Constructor Details
-
GeoIpConfig
public GeoIpConfig()
-
-
Method Details
-
geoIpService
Creates a GeoIpService bean. If the GeoIP database path is not configured, a NoOpGeoIp service is returned.- Parameters:
props- The application properties.- Returns:
- The GeoIpService bean.
-