Package fr.gouv.vitam.common.thread

# Class VitamThreadUtils

java.lang.Object
fr.gouv.vitam.common.thread.VitamThreadUtils

public class VitamThreadUtils extends Object
Utility to get access to VitamSession of the current Thread

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VitamThreadUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static VitamSession`
  `getVitamSession()`
  Extracts the VitamSession from the local thread and returns it

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VitamThreadUtils

    public VitamThreadUtils()

- ## Method Details

  - ### getVitamSession

    public static VitamSession getVitamSession()
    Extracts the VitamSession from the local thread and returns it
    Returns:
      VitamSession
    Throws:
      `VitamThreadAccessException`