public class SampleRatingExtension extends java.lang.Object implements RatingExtension
| Constructor and Description |
|---|
SampleRatingExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
handlePostApplyAlteration(RatingExtensionContext extensionContext)
This extension point is executed by the OCS immediately following the "alteration" calculation for a usage request.
|
void |
handlePostApplyCharge(RatingExtensionContext extensionContext)
This extension point is executed by the OCS immediately following the "charge" calculation for a usage request.
|
void |
handlePostApplyDistribution(RatingExtensionContext extensionContext)
This extension point is executed by the OCS immediately following the "distribution" calculation for a usage request.
|
void |
handlePostApplyTaxation(RatingExtensionContext extensionContext)
This extension point is executed by the OCS immediately following the "taxation" calculation for a usage request.
|
void |
initialize(ExtensionContext extensionContext)
method is invoked once at ECS Node startup time to allow integrators a spot to populate private
data members that are required by the extension callback.
|
void |
shutdown(ExtensionContext extensionContext)
method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that
were acquired by the Extension.
|
public void initialize(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallbackinitialize in interface RatingExtensioninitialize in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>extensionContext - the context which exposes objects that are needed at initialization time.ExtensionException - if a non-recoverable error occurs during initialization.public void handlePostApplyCharge(RatingExtensionContext extensionContext) throws ExtensionException
RatingExtensionhandlePostApplyCharge in interface RatingExtensionextensionContext - the available context data that can be accessed during the post apply charge rating flow.ExtensionException - if a non-recoverable error occurs during extension execution.public void handlePostApplyAlteration(RatingExtensionContext extensionContext) throws ExtensionException
RatingExtensionhandlePostApplyAlteration in interface RatingExtensionextensionContext - the available context data that can be accessed during the post apply alteration rating flow.ExtensionException - if a non-recoverable error occurs during extension execution.public void handlePostApplyDistribution(RatingExtensionContext extensionContext) throws ExtensionException
RatingExtensionhandlePostApplyDistribution in interface RatingExtensionextensionContext - the available context data that can be accessed during the post apply distribution rating flow.ExtensionException - if a non-recoverable error occurs during extension execution.public void handlePostApplyTaxation(RatingExtensionContext extensionContext) throws ExtensionException
RatingExtensionhandlePostApplyTaxation in interface RatingExtensionextensionContext - the available context data that can be accessed during the post apply taxation rating flow.ExtensionException - if a non-recoverable error occurs during extension execution.public void shutdown(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallbackshutdown in interface RatingExtensionshutdown in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>extensionContext - the context which exposes objects that are needed at shutdown time.ExtensionException - if a non-recoverable error occurs during shutdown.