Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Class LocationServiceVisibilityPolicy

java.lang.Object
  |
  +--oracle.panama.rt.hook.LocationServiceVisibilityPolicy

public final class LocationServiceVisibilityPolicy
extends java.lang.Object

This interface represents the plug-in module that check the visibility of services based on the user location and the services area IDs.

Since:
Oracle9i Application Server Wireless Edition

Constructor Summary
LocationServiceVisibilityPolicy()
           

 

Method Summary
 Service[] getVisibleServices(Service[] services, ServiceContext context)
          Given a list of services and the ServiceContext return the list of "location visible" services.

 

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

 

Constructor Detail

LocationServiceVisibilityPolicy

public LocationServiceVisibilityPolicy()
Method Detail

getVisibleServices

public Service[] getVisibleServices(Service[] services,
ServiceContext context)
Given a list of services and the ServiceContext return the list of "location visible" services. The implementation can get the current user location from the Request
Parameters:
services - An array of services which visibilty we want to check.
context - the ServiceContext that contains all parameters
Returns:
Service[] The array of visible services. The services are in the same order they were passed to this method.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.