| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ca.cbc.sportwire.util.PeriodicData
              |
              +--ca.cbc.sportwire.servlet.data.Lineup
                    |
                    +--ca.cbc.sportwire.servlet.data.TemplateLineup
TemplateLineup: Velocity interface to Brian Gordon's cbc.template.presentation.Lineup object -- non CBC sites will probably want to delete this class.
Created: Thu Dec 20 10:55:28 2001$Log: TemplateLineup.java,v $ Revision 1.6 2002/03/15 16:46:40 garym bug fixes Revision 1.5 2002/01/29 21:08:00 garym beans now loaded after topic context is built Revision 1.4 2002/01/26 06:46:29 garym authorization bug in lineups Revision 1.3 2002/01/24 19:50:20 garym Major restructuring of beans and pagehandlers Revision 1.2 2002/01/14 21:51:46 garym bug fixes in topics and config files migration to Extended Properties Revision 1.1 2002/01/03 03:41:59 garym Added interface to Brian's TemplateLineup objects
| Field Summary | |
private static java.util.Map | 
_lineups
 | 
(package private) static org.apache.log4j.Category | 
cat
 | 
private  cbc.template.presentation.Lineup | 
db
 | 
| Fields inherited from class ca.cbc.sportwire.servlet.data.Lineup | 
topic | 
| Fields inherited from class ca.cbc.sportwire.util.PeriodicData | 
interval, running | 
| Fields inherited from class java.lang.Thread | 
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ, userDaemon | 
| Fields inherited from interface ca.cbc.sportwire.servlet.data.LineupBean | 
DEFAULT_CATEGORY, DEFAULT_REFRESH, LINEUP_CATEGORY_VAR, LINEUP_CLASS_PROPERTY, LINEUP_REFRESH_PROPERTY, LINEUP_SCRIPT_PROPERTY, LINEUP_VAR | 
| Fields inherited from interface ca.cbc.sportwire.servlet.data.GlobalCacheProperties | 
CACHE_DEFAULT_PERIOD, CACHE_DEFAULT_TIMEOUT, CACHE_PERIOD, CACHE_TIMEOUT, MRU_PROPERTY, MRU_VAR, TTL_PROPERTY, TTL_VAR | 
| Constructor Summary | |
TemplateLineup(org.apache.commons.collections.ExtendedProperties sc,
               java.lang.String category)
 | 
|
| Method Summary | |
private  cbc.template.presentation.Lineup | 
getDb()
 | 
static Lineup | 
getInstance(org.apache.velocity.context.Context context)
getInstance: returns the Singleton instance for
 this category, fetching it from the map or creating a new one
 as needed | 
static Lineup | 
getInstance(java.lang.String category,
            org.apache.velocity.context.Context context)
 | 
 java.lang.Object | 
getLineup()
Get the value of html.  | 
protected  void | 
setLineup()
Create a new presentation.Lineup object refreshing the data cache.  | 
| Methods inherited from class ca.cbc.sportwire.servlet.data.Lineup | 
defaultPeriod, getCached, getCached, getCategory, getTopic, refresh, setTopic | 
| Methods inherited from class ca.cbc.sportwire.util.PeriodicData | 
bump, isRunning, run, setInterval, setRunning | 
| Methods inherited from class java.lang.Thread | 
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
static org.apache.log4j.Category cat
private cbc.template.presentation.Lineup db
private static java.util.Map _lineups
| Constructor Detail | 
public TemplateLineup(org.apache.commons.collections.ExtendedProperties sc,
                      java.lang.String category)
| Method Detail | 
private cbc.template.presentation.Lineup getDb()
public java.lang.Object getLineup()
getLineup in class Lineupprotected void setLineup()
setLineup in class Lineuppublic static Lineup getInstance(org.apache.velocity.context.Context context)
getInstance: returns the Singleton instance for
 this category, fetching it from the map or creating a new one
 as neededcategory - a String valueLineup value
public static Lineup getInstance(java.lang.String category,
                                 org.apache.velocity.context.Context context)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Javadocs generated Tue Apr 23 01:08:36 EDT 2002 by garym@maya.dyndns.org
Copyright © 2002 Canadian Broadcasting Corp