com.icthh.xm.lep.api.LepManager Maven / Gradle / Ivy
package com.icthh.xm.lep.api;
import java.util.function.Consumer;
/**
* @deprecated
* Use LepManagementService
* try (var context = lepManagementService.beginThreadContext()) {
* // run lep`s
* }
* Lep engine will get TenantContext from TenantContextHolder and XmAuthenticationContext from XmAuthenticationContextHolder
* User PrivilegedTenantContext to set current tenant and SecurityContextHolder to set current auth context.
* To create new Thread pls use LepThreadHelper
*/
@Deprecated(forRemoval = true)
public interface LepManager extends LepManagerService {
@Deprecated(forRemoval = true)
void beginThreadContext(Consumer super ScopedContext> contextInitAction);
@Deprecated(forRemoval = true)
void endThreadContext();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy