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(HttpServletRequest request) |
static CoreSessionProvider<?> |
getCoreProvider(HttpServletRequest request) |
static String |
getRepositoryName(HttpServletRequest request) |
static CoreSession |
getSession() |
static CoreSession |
getSession(HttpServletRequest request) |
static CoreSession |
getSession(HttpServletRequest request,
String repositoryName) |
static CoreSession |
getSession(String repositoryName) |
static SessionRef |
getSessionRef(HttpServletRequest request) |
static SessionRef |
getSessionRef(HttpServletRequest request,
String repositoryName) |
static void |
setDefaultRepository(String repoName) |
public static final String SESSION_FACTORY_KEY
public static void setDefaultRepository(String repoName)
public static String getRepositoryName(HttpServletRequest request)
public static CoreSessionProvider<?> getCoreProvider(HttpServletRequest request)
public static void dispose(HttpServletRequest request)
public static CoreSession getSession()
public static CoreSession getSession(String repositoryName)
public static CoreSession getSession(HttpServletRequest request)
public static CoreSession getSession(HttpServletRequest request, String repositoryName)
public static SessionRef getSessionRef(HttpServletRequest request)
public static SessionRef getSessionRef(HttpServletRequest request, String repositoryName)
Copyright © 2011 Nuxeo SA. All Rights Reserved.