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