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(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(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,
List<Long> lGroups,
List<Long> mGroups,
List<String> roles,
SessionStats stats,
SessionContext previous) |
SessionContextImpl(Session session,
Set<AdminPrivilege> adminPrivileges,
List<Long> lGroups,
List<Long> mGroups,
List<String> roles,
SessionStats stats,
Roles _roles,
SessionContext previous) |
Modifier and Type | Method and Description |
---|---|
SessionContext |
SessionCache.getSessionContext(String uuid)
Retrieve a session possibly raising either
RemovedSessionException or SessionTimeoutException . |
SessionContext |
SessionCache.getSessionContext(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(String uuid,
SessionContext sessionContext)
Puts a session blindly into the context.
|
void |
SessionCache.refresh(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.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.