it already is!
- Glenn
-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 12:32 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
Glenn,
I ran a little test, seems like I've got a patch
static method.
Am I missing something here?
Craig
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 8:03 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
David -
I'm unsure what Java does when calling
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 6:03 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
David -
I'm unsure what Java does when calling a static member of a
class
13, 2002 10:42 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 6:03 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed
-Original Message-
From: Setera, Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 5:59 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
Can anyone explain why the cache key creation is a static
member? Looking at the code
Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 10:42 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13
: RE: A brief report on Jetspeed Portlet Caching
David -
I'd like to take advantage of the solution you outlined here.
If you have the code close to checkin and time to do it, I
encourage you to check it in. If not, I can take a shot at it.
Lets extend PortletConfig to hold
Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
Glenn,
Okay, will add:
1. page id to portletconfig
2. AbstractInstancePortlet, and make VelocityPortlet extend it
Starting on it now
David
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED
Yes to both questions
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 9:51 AM
To: 'Jetspeed Developers List'
Subject: RE: A brief report on Jetspeed Portlet Caching
Cool - this is in addition to the portlet id you already
added
I believe the reason that getHandle is static is because they didn't
want to create the object until it was actually needed.
So you get the handle, look it up in the cache. If its not in
the cache,
then create the object.
The disk cache uses this same technique, seems to be a commonly
I stand (or more properly just now, sit) corrected: The
JetspeedPortletCacheService *does* check the Cacheable's isCacheable()
before letting it be cached. JetspeedPortletFactoryService does not
have to be fixed for this.
The bigger issue of caching and instance still remains...
- Glenn
On
Glenn,
I ran a little test, seems like I've got a patch, but haven't tested it
much.
Added the id from the psml-entry into the PortletConfig, and then use it
in getHandle.
Here is summary of the most important changes:
JetspeedPortletFactoryService:
public static Portlet getPortlet( String
12 matches
Mail list logo