com.sap.cloud.security.ams.dcn.BundleUpdater Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakarta-ams Show documentation
Show all versions of jakarta-ams Show documentation
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