All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.security.ams.dcn.BundleUpdater Maven / Gradle / Ivy

Go to download

Client Library for integrating Jakarta EE applications with SAP Authorization Management Service (AMS)

The newest version!
/************************************************************************
 * © 2019-2024 SAP SE or an SAP affiliate company. All rights reserved. *
 ************************************************************************/
package com.sap.cloud.security.ams.dcn;

import com.sap.cloud.security.ams.dcn.engine.Engine;

interface BundleUpdater {
  /**
   * Synchronously try to read DCN bundle and update the provided shared references accordingly.
   *
   * @param engineDataHolder Shared reference to the engine, corresponding data JSON and the bundle
   *     status.
   * @param compatibilityMode Whether to use compatibility mode for the {@link Engine}.
   */
  void syncGet(EngineDataHolder engineDataHolder, boolean compatibilityMode);

  /**
   * Asynchronously and periodically try to read DCN bundle and update the provided shared
   * references accordingly. Return immediately after starting the update process.
   *
   * @param engineDataHolder Shared reference to the engine, corresponding data JSON and the bundle
   *     status.
   * @param compatibilityMode Whether to use compatibility mode for the {@link Engine}.
   */
  void startPeriodicUpdates(EngineDataHolder engineDataHolder, boolean compatibilityMode);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy