quintonm    2003/03/21 07:28:20

  Modified:    src/java/org/apache/turbine/services/pull PullService.java
  Log:
  Added a new constant that contains a prefix for attribute names for tools stored in 
the session.
  
  Revision  Changes    Path
  1.8       +13 -7     
jakarta-turbine-2/src/java/org/apache/turbine/services/pull/PullService.java
  
  Index: PullService.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/PullService.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PullService.java  19 Mar 2003 16:09:46 -0000      1.7
  +++ PullService.java  21 Mar 2003 15:28:20 -0000      1.8
  @@ -91,9 +91,7 @@
   public interface PullService
           extends Service
   {
  -    /**
  -     * The key under which this service is stored in TurbineServices.
  -     */
  +    /** The key under which this service is stored in TurbineServices. */
       String SERVICE_NAME = "PullService";
   
       /** Property Key for the global tools */
  @@ -114,21 +112,29 @@
       /** Property tag for application tool resources directory */
       String TOOL_RESOURCES_DIR_KEY = "tools.resources.dir";
   
  -    /** Default value for the application tool resources. This is relative to the 
webapp root */
  +    /**
  +     * Default value for the application tool resources. This is relative
  +     * to the webapp root
  +     */
       String TOOL_RESOURCES_DIR_DEFAULT = "resources";
   
  -    /** Property tag for per request tool refreshing (for obvious reasons has no 
effect for per-request tools) */
  +    /**
  +     * Property tag for per request tool refreshing (for obvious reasons
  +     * has no effect for per-request tools)
  +     */
       String TOOLS_PER_REQUEST_REFRESH_KEY = "tools.per.request.refresh";
   
       /** Default value for per request tool refreshing */
       boolean TOOLS_PER_REQUEST_REFRESH_DEFAULT = false;
   
  +    /** prefix for key used in the session to store session scope pull tools */
  +    String SESSION_TOOLS_ATTRIBUTE_PREFIX = "turbine.sessiontools.";
   
       /**
        * Get the context containing global tools that will be
        * use as part of the Turbine Pull Model.
        *
  -     * @return A Context object which contains the 
  +     * @return A Context object which contains the
        *         Global Tool instances.
        */
       Context getGlobalContext();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to