blackboard.platform.session
Class BbSession.Scope

java.lang.Object
  extended by blackboard.platform.session.BbSession.Scope
Enclosing interface:
BbSession

Deprecated. All attributes are stored in Global scope, since the alternate scopes were never properly implemented

public static class BbSession.Scope
extends java.lang.Object

Enumeration of possible attribute scopes.


Field Summary
static BbSession.Scope GLOBAL_USER
          Deprecated. Attributes with global scope are offloaded to persistent storage in database or filesystem and are subsequently available to any webapp or consumer in any process.
static BbSession.Scope LOCAL_USER
          Deprecated. Attributes with local scope are stored in memory and are available to all webapps and other consumers in the system.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL_USER

public static final BbSession.Scope LOCAL_USER
Deprecated. 
Attributes with local scope are stored in memory and are available to all webapps and other consumers in the system. In a distributed environement, each blackboard instance will have its own copy of this cache. It is not intended to be distributed in any way accross VMs. Attributes are always clean, or up to date, in this scope, since sets and gets will be syncronized in the session implementation.


GLOBAL_USER

public static final BbSession.Scope GLOBAL_USER
Deprecated. 
Attributes with global scope are offloaded to persistent storage in database or filesystem and are subsequently available to any webapp or consumer in any process. Attributes may be dirty, since we are currently not supporting setting and reading these attributes in a transaction.



Copyright © 2003 Blackboard, Inc. All Rights Reserved.