* Define cache node as INode rather than fixed TransientNode.
The idea is to eventually be able to use persistent HopObjects as session stores.
This commit is contained in:
parent
30eb6663bc
commit
02b00926ff
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ public class Session implements Serializable {
|
|||
|
||||
// the transient cache node that is exposed to javascript
|
||||
// this stays the same across logins and logouts.
|
||||
protected TransientNode cacheNode;
|
||||
protected INode cacheNode;
|
||||
protected long onSince;
|
||||
protected long lastTouched;
|
||||
protected long lastModified;
|
||||
|
@ -161,7 +161,7 @@ public class Session implements Serializable {
|
|||
/**
|
||||
* Set the cache node for this session.
|
||||
*/
|
||||
public void setCacheNode(TransientNode node) {
|
||||
public void setCacheNode(INode node) {
|
||||
this.cacheNode = node;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue