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

com.icthh.xm.lep.api.LepManager Maven / Gradle / Ivy

There is a newer version: 4.0.21
Show newest version
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 contextInitAction);

    @Deprecated(forRemoval = true)
    void endThreadContext();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy