Interface PostChargingExtension

All Superinterfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostChargingExtensionContext>
All Known Implementing Classes:
SamplePostChargingExtension, SampleRarPostChargingExtension

public interface PostChargingExtension extends oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostChargingExtensionContext>
Post charging extension hook invoked as a part of charging flow to execute the post charging custom extension code.
Since:
11.2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This execute method is specific to a PostChargingExtension 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.
  • Method Details

    • initialize

      void initialize(ExtensionContext extensionContext) throws ExtensionException
      Description copied from interface: oracle.communication.brm.charging.extensions.framework.ExtensionCallback
      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.
      Specified by:
      initialize in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostChargingExtensionContext>
      Parameters:
      extensionContext - the context which exposes objects that are needed at initialization time.
      Throws:
      ExtensionException - if a non-recoverable error occurs during initialization.
    • execute

      void execute(PostChargingExtensionContext extensionContext) throws ExtensionException
      This execute method is specific to a PostChargingExtension hook. Operator should implement this method to perform their custom logic that is specific to their Post OCS charging needs.
      Parameters:
      extensionContext - context information pertaining to Post OCS charging.
      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

      void shutdown(ExtensionContext extensionContext) throws ExtensionException
      Description copied from interface: oracle.communication.brm.charging.extensions.framework.ExtensionCallback
      method 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:
      shutdown in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<PostChargingExtensionContext>
      Parameters:
      extensionContext - the context which exposes objects that are needed at shutdown time.
      Throws:
      ExtensionException - if a non-recoverable error occurs during shutdown.