net.sourceforge.blogentis.turbine
Class BlogRunDataService
java.lang.Object
org.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
org.apache.turbine.services.rundata.TurbineRunDataService
net.sourceforge.blogentis.turbine.BlogRunDataService
- All Implemented Interfaces:
- org.apache.turbine.services.Initable, org.apache.turbine.services.rundata.RunDataService, org.apache.turbine.services.Service
- public class BlogRunDataService
- extends org.apache.turbine.services.rundata.TurbineRunDataService
This service extends the default TurbineRunDataService with the ability to
retrieve the current threads associated RunData object.
- Author:
- abas
Fields inherited from class org.apache.turbine.services.rundata.TurbineRunDataService |
COOKIE_PARSER, PARAMETER_PARSER, RUN_DATA |
Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, serviceBroker |
Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
Fields inherited from interface org.apache.turbine.services.rundata.RunDataService |
COOKIE_PARSER_KEY, DEFAULT_CONFIG, PARAMETER_PARSER_KEY, RUN_DATA_KEY, SERVICE_NAME |
Method Summary |
static BlogRunData |
getCurrentRunData()
Get this thread's associated RunData Object. |
org.apache.turbine.util.RunData |
getRunData(java.lang.String key,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.ServletConfig config)
|
BlogRunData |
getThreadRunData()
Get this thread's associated RunData Object. |
boolean |
putRunData(org.apache.turbine.util.RunData data)
|
Methods inherited from class org.apache.turbine.services.rundata.TurbineRunDataService |
getRunData, init |
Methods inherited from class org.apache.turbine.services.TurbineBaseService |
init, init, init, shutdown |
Methods inherited from class org.apache.turbine.services.BaseService |
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
Methods inherited from class org.apache.turbine.services.BaseInitable |
getInit, getInitableBroker, setInit, setInitableBroker |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, setInitableBroker, shutdown |
currentRunData
protected static java.lang.ThreadLocal currentRunData
BlogRunDataService
public BlogRunDataService()
putRunData
public boolean putRunData(org.apache.turbine.util.RunData data)
getRunData
public org.apache.turbine.util.RunData getRunData(java.lang.String key,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.ServletConfig config)
throws org.apache.turbine.util.TurbineException,
java.lang.IllegalArgumentException
- Throws:
org.apache.turbine.util.TurbineException
java.lang.IllegalArgumentException
getThreadRunData
public BlogRunData getThreadRunData()
- Get this thread's associated RunData Object.
- Returns:
- the current RunData object.
getCurrentRunData
public static BlogRunData getCurrentRunData()
- Get this thread's associated RunData Object.
- Returns:
- the current RunData object.
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.