|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.rundata.TurbineRunDataFacade
Static wrapper for the RunData service. The name is completely out of line of the other Turbine Services. So what? All the good ones were taken.
Constructor Summary | |
TurbineRunDataFacade()
|
Method Summary | |
static RunData |
getRunData(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.ServletConfig config)
Gets a default RunData object. |
static RunData |
getRunData(java.lang.String key,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.ServletConfig config)
Gets a RunData object from a specific configuration. |
static RunDataService |
getService()
Utility method for accessing the service implementation |
static boolean |
putRunData(RunData data)
Puts the used RunData object back to the factory for recycling. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TurbineRunDataFacade()
Method Detail |
public static RunDataService getService()
public static RunData getRunData(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.ServletConfig config) throws TurbineException
req
- a servlet request.res
- a servlet response.config
- a servlet config.
TurbineException
- if the operation fails.public static RunData getRunData(java.lang.String key, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.ServletConfig config) throws TurbineException
key
- a configuration key.req
- a servlet request.res
- a servlet response.config
- a servlet config.
TurbineException
- if the operation fails.public static boolean putRunData(RunData data)
data
- the used RunData object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |