public static class PerSessionCoreProvider.Ref extends Object implements SessionRef
Modifier and Type | Field and Description |
---|---|
protected ReentrantLock |
lock |
protected CoreSession |
session |
Constructor and Description |
---|
Ref(CoreSession session) |
protected CoreSession session
protected ReentrantLock lock
public Ref(CoreSession session)
public CoreSession get()
get
in interface SessionRef
public void unget()
unget
in interface SessionRef
public void destroy()
destroy
in interface SessionRef
Copyright © 2016 Nuxeo SA. All rights reserved.