pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.geolocation
Class GeoIPLocatorConfig

java.lang.Object
  extended by org.torweg.pulse.configuration.AbstractConfigBean
      extended by org.torweg.pulse.util.geolocation.GeoIPLocatorConfig
All Implemented Interfaces:
java.io.Serializable, ConfigBean

public class GeoIPLocatorConfig
extends AbstractConfigBean

Configuration used by GeoIPLocationProvider.

Version:
$Revision: 1508 $
Author:
Thomas Weber
See Also:
Serialized Form

Constructor Summary
GeoIPLocatorConfig()
           
 
Method Summary
 int getCacheMode()
          returns the cache mode.
 java.io.File getDatabaseFile()
          returns the database file.
 void init(org.jdom.Element conf)
          configures the bean.
 
Methods inherited from class org.torweg.pulse.configuration.AbstractConfigBean
buildClass, buildInstance, lastModified, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoIPLocatorConfig

public GeoIPLocatorConfig()
Method Detail

init

public final void init(org.jdom.Element conf)
configures the bean.

Parameters:
conf - the config xml
See Also:
ConfigBean.init(org.jdom.Element)

getCacheMode

public final int getCacheMode()
returns the cache mode.

Returns:
the cache mode

getDatabaseFile

public final java.io.File getDatabaseFile()
returns the database file.

Returns:
the database file