|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.cmis.SessionHolder
@Singleton class SessionHolder extends Object
| Field Summary | |
|---|---|
private static Object[] |
LOCK
|
private static org.slf4j.Logger |
LOG
|
private Map |
sessions
|
| Constructor Summary | |
SessionHolder()
|
|
| Method Summary | |
|---|---|
void
|
disconnectSession(String sessionName)
|
private org.apache.chemistry.opencmis.client.api.Session
|
fetchSession(String sessionName)
|
org.apache.chemistry.opencmis.client.api.Session
|
getSession(String sessionName = 'default')
|
String[]
|
getSessionNames()
|
boolean
|
isSessionConnected(String sessionName)
|
private org.apache.chemistry.opencmis.client.api.Session
|
retrieveSession(String sessionName)
|
void
|
setSession(String sessionName = 'default', org.apache.chemistry.opencmis.client.api.Session session)
|
private void
|
storeSession(String sessionName, org.apache.chemistry.opencmis.client.api.Session session)
|
Object
|
withCmis(String sessionName = 'default', Closure closure)
|
Object
|
withCmis(String sessionName = 'default', CallableWithArgs callable)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final Object[] LOCK
private static final org.slf4j.Logger LOG
private final Map sessions
| Constructor Detail |
|---|
SessionHolder()
| Method Detail |
|---|
void disconnectSession(String sessionName)
private org.apache.chemistry.opencmis.client.api.Session fetchSession(String sessionName)
org.apache.chemistry.opencmis.client.api.Session getSession(String sessionName = 'default')
String[] getSessionNames()
boolean isSessionConnected(String sessionName)
private org.apache.chemistry.opencmis.client.api.Session retrieveSession(String sessionName)
void setSession(String sessionName = 'default', org.apache.chemistry.opencmis.client.api.Session session)
private void storeSession(String sessionName, org.apache.chemistry.opencmis.client.api.Session session)
Object withCmis(String sessionName = 'default', Closure closure)
Object withCmis(String sessionName = 'default', CallableWithArgs callable)
Groovy Documentation