public final class SamplePostRatingExtensionCurrencyConversion extends java.lang.Object implements PostRatingExtension
Constructor and Description |
---|
SamplePostRatingExtensionCurrencyConversion() |
Modifier and Type | Method and Description |
---|---|
void |
execute(PostRatingExtensionContext extensionContext)
This execute method is specific to a PostRatingExtension hook.
|
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 SamplePostRatingExtensionCurrencyConversion()
public void initialize(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallback
initialize
in interface PostRatingExtension
initialize
in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>
extensionContext
- the context which exposes objects that are needed at initialization time.ExtensionException
- if a non-recoverable error occurs during initialization.public void execute(PostRatingExtensionContext extensionContext) throws ExtensionException
PostRatingExtension
execute
in interface PostRatingExtension
extensionContext
- context information pertaining to Post OCS Rating.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.public void shutdown(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallback
shutdown
in interface PostRatingExtension
shutdown
in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostRatingExtensionContext>
extensionContext
- the context which exposes objects that are needed at shutdown time.ExtensionException
- if a non-recoverable error occurs during shutdown.