Package org.xwiki.extension
Interface ExtensionSession
public interface ExtensionSession
A short lived container used to store extensions manipulations related data which can be disposed.
Any entry value implementing Closeable
will be called when the session is destroyed.
- Since:
- 12.10
- Version:
- $Id: 566c01b53e7fd86e7768e9355abfee8ca02d0d5d $
-
Method Summary
-
Method Details
-
set
- Parameters:
key
- the key associated to the session entryvalue
- the value
-
get
- Type Parameters:
T
- the type of value associated with the passed key- Parameters:
key
- the key associated to the session entry- Returns:
- the value associated to the passed key
-