Interface PostRatingExtension
- All Superinterfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>
- All Known Implementing Classes:
SamplePostRatingComplexTaxationExtension,SamplePostRatingConsolidateRatingPeriods,SamplePostRatingExtensionCurrencyConversion,SamplePostRatingExtensionRateTag,SamplePostRatingLocationTaxationExtension,SampleRarPostRatingExtension
public interface PostRatingExtension
extends oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>
Post rating extension hook invoked as a part of charging flow to execute the post rating
custom extension code.
- Since:
- 11.2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(PostRatingExtensionContext extensionContext) This execute method is specific to a PostRatingExtension hook.voidinitialize(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.voidshutdown(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.
-
Method Details
-
initialize
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallbackmethod 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.- Specified by:
initializein interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>- Parameters:
extensionContext- the context which exposes objects that are needed at initialization time.- Throws:
ExtensionException- if a non-recoverable error occurs during initialization.
-
execute
This execute method is specific to a PostRatingExtension hook. Operator should implement this method to perform their custom logic that is specific to their Post OCS Rating needs.- Parameters:
extensionContext- context information pertaining to Post OCS Rating.- Throws:
ExtensionException- throw and exception if a non-recoverable error occurs. This exception will be logged and a EXTENSION_ERROR ServiceEvent will be set into the UsageResponse.
-
shutdown
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallbackmethod is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.- Specified by:
shutdownin interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>- Parameters:
extensionContext- the context which exposes objects that are needed at shutdown time.- Throws:
ExtensionException- if a non-recoverable error occurs during shutdown.
-