hi thomas,

i'm still working on the new api (cms just came in between).

with the new api it should be even easier (see the usage of @ViewMetaData).
please have a look at ViewConfigNode - it's optimized already.

regards,
gerhard



2012/12/17 Thomas Andraschko <[email protected]>

> 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
>

Reply via email to