deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <andraschko.tho...@gmail.com>
Subject [JSF][Proposal] ViewMetaData for HTTP caching
Date Mon, 17 Dec 2012 16:37:58 GMT
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

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