Class TransactionLocal<T>

java.lang.Object
com.polarion.platform.TransactionLocal<T>

public class TransactionLocal<T> extends Object
Analogical to ThreadLocal but works in scope of transaction - after tx ends the reference to value is cleared.
Since:
3.5.0
Version:
$Revision$ $Date$
Author:
Roman Kratochvil
  • Constructor Details

    • TransactionLocal

      public TransactionLocal()
  • Method Details

    • set

      public void set(T value)
    • get

      public T get()
    • holds

      public boolean holds()
      Since:
      3.5.3
    • remove

      public void remove()