|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.geolocation.NoLookupLocationProvider
public final class NoLookupLocationProvider
a dummy implementation, which always returns null for lookups.
| Constructor Summary | |
|---|---|
NoLookupLocationProvider()
constructs a new instance. |
|
| Method Summary | |
|---|---|
boolean |
isModified()
returns false. |
GeoLocation |
lookup(java.net.InetAddress ip)
returns an empty GeoLocation. |
GeoLocation |
lookup(java.lang.String ip)
returns an empty GeoLocation. |
void |
restart()
does nothing. |
void |
shutdown()
does nothing. |
void |
startup()
does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoLookupLocationProvider()
| Method Detail |
|---|
public GeoLocation lookup(java.lang.String ip)
GeoLocation.
lookup in interface IGeoLocationProviderip - the IP-address to lookup
GeoLocationpublic GeoLocation lookup(java.net.InetAddress ip)
GeoLocation.
lookup in interface IGeoLocationProviderip - the IP-address to lookup
GeoLocationpublic boolean isModified()
false.
isModified in interface LifecycleResourcefalseLifecycleResource.isModified()public void restart()
restart in interface LifecycleResourceLifecycleResource.restart()public void shutdown()
shutdown in interface LifecycleResourceLifecycleResource.shutdown()public void startup()
startup in interface LifecycleResourceLifecycleResource.startup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||