Class RenderingContext.SessionWrapper
- java.lang.Object
-
- org.nuxeo.ecm.core.io.registry.context.RenderingContext.SessionWrapper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing interface:
- RenderingContext
public static class RenderingContext.SessionWrapper extends Object implements Closeable
Session wrapper. This used to be needed to close session, which isn't needed anymore.- Since:
- 7.2
-
-
Constructor Summary
Constructors Constructor Description SessionWrapper(CoreSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
CoreSession
getSession()
-
-
-
Constructor Detail
-
SessionWrapper
public SessionWrapper(CoreSession session)
-
-
Method Detail
-
getSession
public CoreSession getSession()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-