|
||||||||||
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.ScriptLineup
ScriptLineup: A velocity interface to access the news lineups via an external call to a CBC Newsworld script
Created: Fri Dec 14 15:40:15 2001$Log: ScriptLineup.java,v $ Revision 1.8 2002/01/26 06:46:29 garym authorization bug in lineups Revision 1.7 2002/01/24 19:50:20 garym Major restructuring of beans and pagehandlers Revision 1.6 2002/01/16 00:56:26 garym current site on cbc.ca/olympics; checkpoint release Revision 1.5 2002/01/14 21:51:46 garym bug fixes in topics and config files migration to Extended Properties Revision 1.4 2002/01/03 03:36:25 garym Abstracted periodic-refresh data cache objects Revision 1.3 2001/12/23 17:55:23 garym Allow for multiple SportPage apps on one JVM Revision 1.2 2001/12/23 04:54:18 garym Added TemplateLineup support and Velocity logfile setting Revision 1.1 2001/12/16 22:01:56 garym fixes to default page handling Revision 1.1 2001/12/14 21:10:33 garym Implement error pages and skeletal lineup
Field Summary | |
(package private) static org.apache.log4j.Category |
cat
|
private java.lang.String |
html
|
private java.lang.String |
script
|
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 | |
ScriptLineup(org.apache.commons.collections.ExtendedProperties sc,
java.lang.String category)
ScriptLineup protected constructor used by the
singleton getInstance interface. |
|
ScriptLineup(org.apache.commons.collections.ExtendedProperties sc,
java.lang.String script,
java.lang.String category)
ScriptLineup public constructor to create a unique
Lineup object with a custom script. |
Method Summary | |
static Lineup |
getInstance(org.apache.velocity.context.Context context)
getInstance : an instance for the category |
static Lineup |
getInstance(java.lang.String category,
org.apache.velocity.context.Context context)
|
java.lang.Object |
getLineup()
Get the value of html. |
java.lang.String |
getScript()
Get the command line exe for a script which will take one parameter for the Lineup catagory. |
protected void |
setLineup()
Set the value of html. |
void |
setScript(java.lang.String v)
Set the script command. |
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 java.lang.String html
private java.lang.String script
Constructor Detail |
public ScriptLineup(org.apache.commons.collections.ExtendedProperties sc, java.lang.String category)
ScriptLineup
protected constructor used by the
singleton getInstance interface.sc
- an ExtendedProperties
valuecategory
- a String
valuepublic ScriptLineup(org.apache.commons.collections.ExtendedProperties sc, java.lang.String script, java.lang.String category)
ScriptLineup
public constructor to create a unique
Lineup object with a custom script.sc
- an ExtendedProperties
valuescript
- a String
valuecategory
- a String
valueMethod Detail |
public java.lang.String getScript()
public void setScript(java.lang.String v)
v
- Value to assign to script.public java.lang.Object getLineup()
getLineup
in class Lineup
protected void setLineup()
setLineup
in class Lineup
public static Lineup getInstance(org.apache.velocity.context.Context context)
getInstance
: an instance for the categorycontext
- a Context
valueLineup
valuepublic 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