org.apache.turbine.util
Class RunDataFactory

java.lang.Object
  |
  +--org.apache.turbine.util.RunDataFactory

public class RunDataFactory
extends java.lang.Object

Creates instances of RunData for use within Turbine or 3rd party applications.

Version:
$Id$
Author:
Ilkka Priha, Kevin A. Burton, John D. McNally

Field Summary
private static boolean tryRunDataService
          A flag for the RunData Service.
 
Constructor Summary
RunDataFactory()
           
 
Method Summary
static RunData getRunData(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.ServletConfig config)
          Open way to get RunData information across Turbine..
static void putRunData(RunData data)
          Returns the used RunData object back to the factory for recycling.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

tryRunDataService

private static boolean tryRunDataService
A flag for the RunData Service.
Constructor Detail

RunDataFactory

public RunDataFactory()
Method Detail

getRunData

public static RunData getRunData(javax.servlet.http.HttpServletRequest req,
                                 javax.servlet.http.HttpServletResponse res,
                                 javax.servlet.ServletConfig config)
                          throws TurbineException,
                                 java.lang.IllegalArgumentException
Open way to get RunData information across Turbine..
Parameters:
req - An HttpServletRequest.
res - An HttpServletResponse.
config - A ServletConfig.
Throws:
TurbineException. -  

putRunData

public static void putRunData(RunData data)
Returns the used RunData object back to the factory for recycling.
Parameters:
data - the used RunData object.


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.