Package fr.gouv.vitam.common.thread
Class VitamThreadUtils
- java.lang.Object
-
- fr.gouv.vitam.common.thread.VitamThreadUtils
-
public class VitamThreadUtils extends java.lang.Object
Utility to get access to VitamSession of the current Thread
-
-
Constructor Summary
Constructors Constructor Description VitamThreadUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VitamSession
getVitamSession()
Extracts the VitamSession from the local thread and returns it
-
-
-
Method Detail
-
getVitamSession
public static VitamSession getVitamSession()
Extracts the VitamSession from the local thread and returns it- Returns:
- VitamSession
- Throws:
VitamThreadAccessException
-
-