Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.rt.hook
Class CallerLocationPolicy

java.lang.Object
  extended byoracle.panama.rt.hook.CallerLocationPolicy


public final class CallerLocationPolicy
extends java.lang.Object

The caller location policy based on Landmarks.

Since:
Oracle9i Application Server Wireless Edition

Constructor Summary
CallerLocationPolicy()

Method Summary
static Point getCurrentLocation(Request request)
Use this method to get the location from landmarks.
static Point getCurrentLocation(Session session)
Use this method to get the location from landmarks.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CallerLocationPolicy

public CallerLocationPolicy()

Method Detail

getCurrentLocation

public static Point getCurrentLocation(Request request)
                                throws CallerLocationException
Use this method to get the location from landmarks.
Returns:
latitude/longitude locator for the caller
Throws:
CallerLocationException

getCurrentLocation

public static Point getCurrentLocation(Session session)
                                throws CallerLocationException
Use this method to get the location from landmarks.
Returns:
latitude/longitude locator for the caller
Throws:
CallerLocationException

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.