public class SessionFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_FACTORY_KEY |
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
dispose(javax.servlet.http.HttpServletRequest request) |
static CoreSessionProvider<?> |
getCoreProvider(javax.servlet.http.HttpServletRequest request) |
static String |
getRepositoryName(javax.servlet.http.HttpServletRequest request) |
static CoreSession |
getSession() |
static CoreSession |
getSession(javax.servlet.http.HttpServletRequest request) |
static CoreSession |
getSession(javax.servlet.http.HttpServletRequest request,
String repositoryName) |
static CoreSession |
getSession(String repositoryName) |
static SessionRef |
getSessionRef(javax.servlet.http.HttpServletRequest request) |
static SessionRef |
getSessionRef(javax.servlet.http.HttpServletRequest request,
String repositoryName) |
static void |
setDefaultRepository(String repoName) |
public static final String SESSION_FACTORY_KEY
public SessionFactory()
public static void setDefaultRepository(String repoName)
public static String getRepositoryName(javax.servlet.http.HttpServletRequest request)
public static CoreSessionProvider<?> getCoreProvider(javax.servlet.http.HttpServletRequest request)
public static void dispose(javax.servlet.http.HttpServletRequest request)
public static CoreSession getSession()
public static CoreSession getSession(String repositoryName)
public static CoreSession getSession(javax.servlet.http.HttpServletRequest request)
public static CoreSession getSession(javax.servlet.http.HttpServletRequest request, String repositoryName)
public static SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request)
public static SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request, String repositoryName)
Copyright © 2015 Nuxeo SA. All rights reserved.