Package | Description |
---|---|
ome.services.sessions | |
ome.services.sessions.state |
Modifier and Type | Class and Description |
---|---|
class |
SessionContextImpl |
Modifier and Type | Field and Description |
---|---|
protected SessionContext |
SessionManagerImpl.internalSession
Internal
SessionContext created during SessionManagerImpl.init() which is
used for all method calls internal to the session manager (see execute*
methods) |
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
SessionManagerImpl.createSessionContext(java.util.List<?> list,
SessionContext previous)
Takes a snapshot as from
SessionManagerImpl.executeSessionContextLookup(ServiceFactory, Principal, Session)
and turns it into a SessionContext instance. |
SessionContext |
SessionManagerImpl.reload(SessionContext ctx)
Will be called in a synchronized block by
SessionCache in order
to allow for an update. |
Modifier and Type | Method and Description |
---|---|
protected SessionContext |
SessionManagerImpl.createSessionContext(java.util.List<?> list,
SessionContext previous)
Takes a snapshot as from
SessionManagerImpl.executeSessionContextLookup(ServiceFactory, Principal, Session)
and turns it into a SessionContext instance. |
SessionContext |
SessionManagerImpl.reload(SessionContext ctx)
Will be called in a synchronized block by
SessionCache in order
to allow for an update. |
Constructor and Description |
---|
SessionContextImpl(Session session,
java.util.List<java.lang.Long> lGroups,
java.util.List<java.lang.Long> mGroups,
java.util.List<java.lang.String> roles,
SessionStats stats,
SessionContext previous) |
SessionContextImpl(Session session,
java.util.Set<AdminPrivilege> adminPrivileges,
java.util.List<java.lang.Long> lGroups,
java.util.List<java.lang.Long> mGroups,
java.util.List<java.lang.String> roles,
SessionStats stats,
Roles _roles,
SessionContext previous) |
Modifier and Type | Method and Description |
---|---|
SessionContext |
SessionCache.getSessionContext(java.lang.String uuid)
Retrieve a session possibly raising either
RemovedSessionException or SessionTimeoutException . |
SessionContext |
SessionCache.getSessionContext(java.lang.String uuid,
boolean quietly)
Retrieve a session possibly raising either
RemovedSessionException or SessionTimeoutException . |
SessionContext |
SessionCache.StaleCacheListener.reload(SessionContext context)
Method called for every active session in the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionCache.putSession(java.lang.String uuid,
SessionContext sessionContext)
Puts a session blindly into the context.
|
void |
SessionCache.refresh(java.lang.String uuid,
SessionContext replacement)
Used externally to refresh the
SessionContext instance
associated with the session uuid |
SessionContext |
SessionCache.StaleCacheListener.reload(SessionContext context)
Method called for every active session in the cache.
|
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.