You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Brian Leathem <bl...@gmail.com> on 2012/10/26 00:58:14 UTC
Seam Faces ViewConfigExtension and ViewConfigStore
As per the closing remarks in today's hangout, here are some links to
the back-end data store used in Seam Faces.
The first class, ViewConfigExtension, scans for the view config
annotations, and stores them in a map viewPattern (Strings) ->
Set<Annotation>.
https://github.com/seam/faces/blob/develop/impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
The map in the Extension is then queried by the ViewConfigStore to build
some data structures to efficiently look up the annotation for a given
map. The ViewConfigStore could also query alternate sources of view
configuration data, not just the Extension.
ViewConfigStore (API)
https://github.com/seam/faces/blob/develop/api/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStore.java
ViewConfigStore (IMPL)
https://github.com/seam/faces/blob/develop/impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
Hope that provides some useful inspiration.
Brian Leathem