Class SampleHTTPSyExtension

java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleHTTPSyExtension
All Implemented Interfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>, HTTPSyExtension

public class SampleHTTPSyExtension extends Object implements HTTPSyExtension
  • Constructor Details

    • SampleHTTPSyExtension

      public SampleHTTPSyExtension()
  • Method Details

    • initialize

      public 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<ExtensionContext>
      Specified by:
      initialize in interface HTTPSyExtension
      Parameters:
      extensionContext - the available context data for this callout.
      Throws:
      ExtensionException - if a non-recoverable error occurs during handleRequestReceived.
    • handleRequestReceived

      public void handleRequestReceived(HTTPSyPreProcessorExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handleRequestReceived in interface HTTPSyExtension
      Parameters:
      extensionContext - the available context data for this callout.
      Throws:
      ExtensionException - if a non-recoverable error occurs during handleRequestReceived.
    • handlePreOCS

      public void handlePreOCS(HTTPSyPreOCSExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handlePreOCS in interface HTTPSyExtension
      Parameters:
      extensionContext - the available context data for this callout.
      Throws:
      ExtensionException - if a non-recoverable error occurs during handleRequestReceived.
    • handlePostOCS

      public void handlePostOCS(HTTPSyPostOCSExtensionContext extensionContext) throws ExtensionException
      Specified by:
      handlePostOCS in interface HTTPSyExtension
      Parameters:
      extensionContext - the available context data for this callout.
      Throws:
      ExtensionException - if a non-recoverable error occurs during handleRequestReceived.
    • shutdown

      public 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<ExtensionContext>
      Parameters:
      extensionContext - the context which exposes objects that are needed at shutdown time.
      Throws:
      ExtensionException - if a non-recoverable error occurs during shutdown.