Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.session.impl
Class PerSessionCoreProvider

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider<PerSessionCoreProvider.Ref>
      extended by org.nuxeo.ecm.webengine.jaxrs.session.impl.PerSessionCoreProvider
All Implemented Interfaces:
EventListener, HttpSessionBindingListener

public class PerSessionCoreProvider
extends CoreSessionProvider<PerSessionCoreProvider.Ref>
implements HttpSessionBindingListener

Author:
Bogdan Stefanescu

Nested Class Summary
static class PerSessionCoreProvider.Ref
           
 
Constructor Summary
PerSessionCoreProvider()
           
 
Method Summary
 SessionRef getSessionRef(HttpServletRequest request, String repoName)
           
 SessionRef[] getSessions()
           
 boolean hasSessions()
           
static void install(HttpServletRequest request)
           
 void onRequestDone(HttpServletRequest request)
          The HTTP request was consumed.
 void valueBound(HttpSessionBindingEvent event)
           
 void valueUnbound(HttpSessionBindingEvent event)
           
 
Methods inherited from class org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider
getSession
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerSessionCoreProvider

public PerSessionCoreProvider()
Method Detail

install

public static void install(HttpServletRequest request)

onRequestDone

public void onRequestDone(HttpServletRequest request)
Description copied from class: CoreSessionProvider
The HTTP request was consumed. Do any request level cleanup now.


valueBound

public void valueBound(HttpSessionBindingEvent event)
Specified by:
valueBound in interface HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface HttpSessionBindingListener

getSessions

public SessionRef[] getSessions()
Overrides:
getSessions in class CoreSessionProvider<PerSessionCoreProvider.Ref>

getSessionRef

public SessionRef getSessionRef(HttpServletRequest request,
                                String repoName)
Overrides:
getSessionRef in class CoreSessionProvider<PerSessionCoreProvider.Ref>

hasSessions

public boolean hasSessions()
Overrides:
hasSessions in class CoreSessionProvider<PerSessionCoreProvider.Ref>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.