Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.session
Class SessionFactory

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.session.SessionFactory

public class SessionFactory
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String SESSION_FACTORY_KEY
           
 
Constructor Summary
SessionFactory()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_FACTORY_KEY

public static final String SESSION_FACTORY_KEY
Constructor Detail

SessionFactory

public SessionFactory()
Method Detail

setDefaultRepository

public static void setDefaultRepository(String repoName)

getRepositoryName

public static String getRepositoryName(HttpServletRequest request)

getCoreProvider

public static CoreSessionProvider<?> getCoreProvider(HttpServletRequest request)

dispose

public static void dispose(HttpServletRequest request)

getSession

public static CoreSession getSession()

getSession

public static CoreSession getSession(String repositoryName)

getSession

public static CoreSession getSession(HttpServletRequest request)

getSession

public static CoreSession getSession(HttpServletRequest request,
                                     String repositoryName)

getSessionRef

public static SessionRef getSessionRef(HttpServletRequest request)

getSessionRef

public static SessionRef getSessionRef(HttpServletRequest request,
                                       String repositoryName)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.