public class SampleUpdateNotificationExtension extends java.lang.Object implements UpdateExtension
| Constructor and Description |
|---|
SampleUpdateNotificationExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext)
This execute method is specific to a Notification Extension hook.
|
java.util.Collection<oracle.communication.brm.charging.config.offerprofile.OfferProfile> |
fetchOfferProfiles(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext) |
void |
generateCustomSNR(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext 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.
|
boolean |
subscribedSpendingLimitSessionPresent(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext) |
public void initialize(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallbackinitialize in interface UpdateExtensioninitialize in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext>extensionContext - the context which exposes objects that are needed at initialization time.ExtensionException - if a non-recoverable error occurs during initialization.public void execute(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext)
throws ExtensionException
UpdateExtensionexecute in interface UpdateExtensionextensionContext - context information pertaining to the Update Operation.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 generateCustomSNR(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext)
public java.util.Collection<oracle.communication.brm.charging.config.offerprofile.OfferProfile> fetchOfferProfiles(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext)
public boolean subscribedSpendingLimitSessionPresent(oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext extensionContext)
public void shutdown(ExtensionContext extensionContext) throws ExtensionException
oracle.communication.brm.charging.extensions.framework.ExtensionCallbackshutdown in interface UpdateExtensionshutdown in interface oracle.communication.brm.charging.extensions.framework.ExtensionCallback<oracle.communication.brm.charging.extensions.client.notification.UpdateExtensionContext>extensionContext - the context which exposes objects that are needed at shutdown time.ExtensionException - if a non-recoverable error occurs during shutdown.