Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.rt.hook
Class ServiceVisibilityPolicy

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


public final class ServiceVisibilityPolicy
extends java.lang.Object

This policy checks whether a service is visibility to the user. This policy performs runtime check of the validity and visibility flags for individual services and the parent folders. It may also use areaID information for location based services.

Since:
Oracle9i Application Server Wireless Edition

Constructor Summary
ServiceVisibilityPolicy()

Method Summary
static boolean isVisible(Service service, Request request)
Checks whether a service is visible to the user.

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

Constructor Detail

ServiceVisibilityPolicy

public ServiceVisibilityPolicy()

Method Detail

isVisible

public static boolean isVisible(Service service,
                                Request request)
Checks whether a service is visible to the user.
Parameters:
service - the service to be tested for visibility
request - the incoming request issued by the user
Returns:
true if the service is visible to the user

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.