| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.portal.wireless.taglibs.base.ContextCache
Base cache class for holding Context objects.
Context| Field Summary | |
| protected static java.util.HashMap | contextCache | 
| protected  java.util.HashMap | contexts | 
| protected static int | START_SIZE | 
| Constructor Summary | |
| ContextCache()Private ContextCache constructor; use getInstance() instead to get a handle to an instance. | |
| Method Summary | |
|  Context | get(SSOToken session,
    java.lang.String configName)Get context from the specified session | 
| static ContextCache | getInstance(java.lang.String className)Return an instance; creating one if needed | 
|  void | put(Context context,
    java.lang.String configName)Put a context into the cache | 
|  void | put(Context context,
    java.lang.String configName,
    boolean listener)Put a context into the cache | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected static java.util.HashMap contextCache
protected static final int START_SIZE
protected java.util.HashMap contexts
| Constructor Detail | 
public ContextCache()
| Method Detail | 
public static ContextCache getInstance(java.lang.String className)
public void put(Context context,
                java.lang.String configName)
context - the context
public void put(Context context,
                java.lang.String configName,
                boolean listener)
context - the contextlistener - whether to add a session listener
public Context get(SSOToken session,
                   java.lang.String configName)
session - the portal session
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||