com.ibm.twss.spm.access
Class ServicePolicyAccessInterfaceProxy

java.lang.Object
  extended by com.ibm.twss.spm.access.ServicePolicyAccessInterfaceProxy
All Implemented Interfaces:
ServicePolicyAccessInterface, java.rmi.Remote

public class ServicePolicyAccessInterfaceProxy
extends java.lang.Object
implements ServicePolicyAccessInterface


Constructor Summary
ServicePolicyAccessInterfaceProxy()
           
 
Method Summary
 java.lang.String getEndpoint()
           
 GetServicePoliciesResponse getServicePolicies(GetServicePoliciesRequest parameters)
          Gets the set of service polices for a given (requester, service, operation) tuple.
 ServicePolicyAccessInterface getServicePolicyAccessInterface()
           
 void setEndpoint(java.lang.String endpoint)
           
 void useJNDI(boolean useJNDI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicePolicyAccessInterfaceProxy

public ServicePolicyAccessInterfaceProxy()
Method Detail

useJNDI

public void useJNDI(boolean useJNDI)

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getServicePolicyAccessInterface

public ServicePolicyAccessInterface getServicePolicyAccessInterface()

getServicePolicies

public GetServicePoliciesResponse getServicePolicies(GetServicePoliciesRequest parameters)
                                              throws java.rmi.RemoteException,
                                                     com.ibm.twss.parlayx21.common.PolicyException,
                                                     com.ibm.twss.parlayx21.common.ServiceException
Description copied from interface: ServicePolicyAccessInterface
Gets the set of service polices for a given (requester, service, operation) tuple. A hierarchical algorithm is used to resolve the set of service policies that corresponds to the particualr request. Policy scoping follows the tuple definition, allowing policies to be defined at different requester, service, and operation scopes. Policies that are set lower in the hierarchy override policies that are set higher in the hierarchy.

Specified by:
getServicePolicies in interface ServicePolicyAccessInterface
Returns:
Throws:
PolicyException - Policy exception from 3GPP TS 29.199-1.

ServiceException - ServiceException from 3GPP TS 29.199-1.

A service exception will occur if one of these five conditions is encountered:

  • The specified requester is a group and not an individual requester.
  • The specified service is a group or a service implementation, and not an individual service.
  • The specified operation is 'ALL'.
  • The specified requester, service or operation does not exist.
  • Subscription does not exist for the specified requester, service and operation.
java.rmi.RemoteException


Copyright © IBM Corp. All Rights Reserved.