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.ExtensionCallback
initialize
in interface RatingExtension
initialize
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
RatingExtension
handlePostApplyCharge
in interface RatingExtension
extensionContext
- 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
RatingExtension
handlePostApplyAlteration
in interface RatingExtension
extensionContext
- 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
RatingExtension
handlePostApplyDistribution
in interface RatingExtension
extensionContext
- 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
RatingExtension
handlePostApplyTaxation
in interface RatingExtension
extensionContext
- 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.ExtensionCallback
shutdown
in interface RatingExtension
shutdown
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.