Class SampleHTTPSyExtension
java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleHTTPSyExtension
- All Implemented Interfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
,HTTPSyExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handlePostOCS
(HTTPSyPostOCSExtensionContext extensionContext) void
handlePreOCS
(HTTPSyPreOCSExtensionContext extensionContext) void
handleRequestReceived
(HTTPSyPreProcessorExtensionContext extensionContext) 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.
-
Constructor Details
-
SampleHTTPSyExtension
public SampleHTTPSyExtension()
-
-
Method Details
-
initialize
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 interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
- Specified by:
initialize
in interfaceHTTPSyExtension
- 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 interfaceHTTPSyExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handlePreOCS
- Specified by:
handlePreOCS
in interfaceHTTPSyExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handlePostOCS
- Specified by:
handlePostOCS
in interfaceHTTPSyExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
shutdown
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 interfaceoracle.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.
-