portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sg...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletfactory JetspeedPortletFactoryService.java
Date Thu, 17 Jan 2002 11:02:29 GMT
sgala       02/01/17 03:02:29

  Modified:    src/java/org/apache/jetspeed/services/portletfactory
                        JetspeedPortletFactoryService.java
  Log:
  Second change: ensure getExpire() is called when an entry is added to memory cache.
  See log for previous change in FileWatcher.java
  
  Revision  Changes    Path
  1.5       +5 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletfactory/JetspeedPortletFactoryService.java
  
  Index: JetspeedPortletFactoryService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletfactory/JetspeedPortletFactoryService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JetspeedPortletFactoryService.java	3 Jan 2002 19:00:46 -0000	1.4
  +++ JetspeedPortletFactoryService.java	17 Jan 2002 11:02:29 -0000	1.5
  @@ -87,7 +87,7 @@
    * Simple implementation of the PortalFactoryService.
    * 
    * @author <a href="mailto:raphael@apache.org">RaphaŽl Luta</a>
  - * @version $Id: JetspeedPortletFactoryService.java,v 1.4 2002/01/03 19:00:46 sgala Exp
$
  + * @version $Id: JetspeedPortletFactoryService.java,v 1.5 2002/01/17 11:02:29 sgala Exp
$
    */
   public class JetspeedPortletFactoryService extends TurbineBaseService
       implements PortletFactoryService
  @@ -319,6 +319,10 @@
               //place this portlet in a cache...
               ((Cacheable)portlet).setHandle( handle );
               PortletCache.addCacheable( ((Cacheable)portlet) );
  +            //Expiration should be added to the portlet now, so that
  +            //the watcher is created before file changes on disk.
  +            ((Cacheable)portlet).getExpire();
  +
           }
   
           //now compute the time it took to instantate and log it...
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message