Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


com.bea.wlcp.wlng.spi.subscriberdata
Interface ProfileProvider


public interface ProfileProvider

Each profile provider is responsible for a group of subscribers identified by their URI. Bulk operations allow the provider to optimize for multiple subscriber profile retrievals.


Method Summary
 List contractExpired(List serviceClasses, List currentContracts)
          The provider has a chance to update SubscriberContracts that have expired.
 List init(List serviceClasses, List currentContracts)
          This method is invoked when the profileProvider has been instantiated.
 List serviceClassesUpdated(List serviceClasses, List currentContracts)
          This is called when the Service Level Agreements (SLAs) has been changed and the serviceClasses are thus modified, and gives the profileProvider an opportunity to update the subscriberContracts.

 

Method Detail

contractExpired

public List contractExpired(List serviceClasses,
                            List currentContracts)
The provider has a chance to update SubscriberContracts that have expired. The provider is free to remove or add current contracts to the returned result.
Parameters:
serviceClasses - - Service classes defined in the SLA
currentContracts - - Contracts created by this provider that need to be updated
Returns:
- The updated contracts

init

public List init(List serviceClasses,
                 List currentContracts)
This method is invoked when the profileProvider has been instantiated. It is an initialization method that allows the profileProvider to make initial actions. It allows the ProfileProvider to setup the per-subscriber thresholds for each ServiceClass. This will be called even if the subscriberSLA is not set (i.e. the serviceClass array is empty).
Parameters:
serviceClasses - - service classes defined in the SLA
Returns:
a list of SubscriberContracts. Each SubscriberContract is tied to a URI that identifies the subscriber. It is possible to have multiple SubscriberContracts per URI by having multiple SubscriberContracts with the same subscriberAddress. If 'null' is returned then the subscriberContracts for this provider will be removed.

serviceClassesUpdated

public List serviceClassesUpdated(List serviceClasses,
                                  List currentContracts)
This is called when the Service Level Agreements (SLAs) has been changed and the serviceClasses are thus modified, and gives the profileProvider an opportunity to update the subscriberContracts.
Parameters:
serviceClasses - The updated serviceClasses
currentContracts - The contracts that are currently set for this provider
Returns:
the updated subscribercontracts for this provider

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.