deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Porter <lightguard...@gmail.com>
Subject Re: [JSF][Proposal] ViewMetaData for HTTP caching
Date Mon, 17 Dec 2012 16:45:48 GMT
I suggest making unit the enum and value the length, other than that it
seems fine. Where would you be storing the cached version though?


On Mon, Dec 17, 2012 at 9:37 AM, Thomas Andraschko <
andraschko.thomas@gmail.com> wrote:

> Hi,
>
> sometimes it's required or possible to cache some views.
> We implemented a CODI ViewConfig based solution for this.
>
> Here is a prototype: https://gist.github.com/aab5992ab4cf5d22b2d3
>
> What do you think? Is this useful for other users too and can we maybe add
> it to DeltaSpike?
>
> @Gerhard
> Would it be possible to add a new method
>          <T extends Annotation> T getUniqueMetaData(Class<T> target)
> to ViewConfigDescriptor?
> Many custom ViewMetaData's are unique and so we must not create a ArrayList
> each time.
>
>
> Regards,
> Thomas
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message