deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Leathem <bleat...@gmail.com>
Subject Seam Faces ViewConfigExtension and ViewConfigStore
Date Thu, 25 Oct 2012 22:58:14 GMT
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

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