Package lumis.portal.monitor.impl
Class GeoLocationValuesProvider
- java.lang.Object
-
- lumis.portal.monitor.AbstractMonitorValuesProvider
-
- lumis.portal.monitor.impl.GeoLocationValuesProvider
-
- All Implemented Interfaces:
java.io.Serializable
,IMonitorValuesProvider
public class GeoLocationValuesProvider extends AbstractMonitorValuesProvider
Geo location value provider based on the user's IP address.- Since:
- 12.3.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoLocationValuesProvider(java.lang.String userIp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.util.List<? extends java.io.Serializable>>
initValues(SessionConfig sessionConfig, ITransaction transaction)
Initializes the monitoring values map.-
Methods inherited from class lumis.portal.monitor.AbstractMonitorValuesProvider
getValues
-
-
-
-
Method Detail
-
initValues
protected java.util.Map<java.lang.String,java.util.List<? extends java.io.Serializable>> initValues(SessionConfig sessionConfig, ITransaction transaction) throws java.lang.Exception
Description copied from class:AbstractMonitorValuesProvider
Initializes the monitoring values map. This method will only be called once and the results will be cached. The implementations must not returnnull
. If no value is present, an empty map should be returned instead. Also, anynull
value in a list will be ignored, meaning that a list with onlynull
will be considered a empty list.- Specified by:
initValues
in classAbstractMonitorValuesProvider
- Parameters:
sessionConfig
- the session config.transaction
- the transaction.- Returns:
- the monitoring data map.
- Throws:
java.lang.Exception
-
-