public class PerSessionCoreProvider extends CoreSessionProvider<PerSessionCoreProvider.Ref> implements javax.servlet.http.HttpSessionBindingListener
Modifier and Type | Class and Description |
---|---|
static class |
PerSessionCoreProvider.Ref |
sessions
Constructor and Description |
---|
PerSessionCoreProvider() |
Modifier and Type | Method and Description |
---|---|
protected PerSessionCoreProvider.Ref |
createSessionRef(CoreSession session) |
protected void |
destroy() |
SessionRef |
getSessionRef(javax.servlet.http.HttpServletRequest request,
String repoName) |
SessionRef[] |
getSessions() |
boolean |
hasSessions() |
static void |
install(javax.servlet.http.HttpServletRequest request) |
void |
onRequestDone(javax.servlet.http.HttpServletRequest request)
The HTTP request was consumed.
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
createSession, getSession
public PerSessionCoreProvider()
public static void install(javax.servlet.http.HttpServletRequest request)
protected PerSessionCoreProvider.Ref createSessionRef(CoreSession session)
createSessionRef
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
public void onRequestDone(javax.servlet.http.HttpServletRequest request)
CoreSessionProvider
onRequestDone
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
public SessionRef[] getSessions()
getSessions
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
public SessionRef getSessionRef(javax.servlet.http.HttpServletRequest request, String repoName)
getSessionRef
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
public boolean hasSessions()
hasSessions
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
protected void destroy()
destroy
in class CoreSessionProvider<PerSessionCoreProvider.Ref>
Copyright © 2016 Nuxeo SA. All rights reserved.