public class EntityApplicationStatePersistenceStrategy extends SessionApplicationStatePersistenceStrategy
Session
.PersistedEntity
Constructor and Description |
---|
EntityApplicationStatePersistenceStrategy(Request request,
org.hibernate.Session hibernateSession) |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> ssoClass,
ApplicationStateCreator<T> creator)
Gets the SSO from the domain.
|
<T> void |
set(Class<T> ssoClass,
T sso)
Stores a new SSO, possibly replacing the existing one.
|
buildKey, exists, getOrCreate, getSession
public EntityApplicationStatePersistenceStrategy(Request request, org.hibernate.Session hibernateSession)
public <T> T get(Class<T> ssoClass, ApplicationStateCreator<T> creator)
ApplicationStatePersistenceStrategy
get
in interface ApplicationStatePersistenceStrategy
get
in class SessionApplicationStatePersistenceStrategy
public <T> void set(Class<T> ssoClass, T sso)
ApplicationStatePersistenceStrategy
set
in interface ApplicationStatePersistenceStrategy
set
in class SessionApplicationStatePersistenceStrategy
sso
- instance to store, or null to delete existing${project.version} - Copyright © 2003-2015 The Apache Software Foundation.