pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aappddeevv" <aappdde...@verizon.net>
Subject RE: Pivot with Google Guice
Date Thu, 05 Aug 2010 13:01:39 GMT
This may be another good motivation for a dev wiki, people can post
integration and other tricks. I remember that Hibernate has such a wiki (not
quite sure the details actually of whether it is a wiki or not) that always
had some tips and ideas for use cases that were not core, but helpful.

-----Original Message-----
From: Todd Volkert [mailto:tvolkert@gmail.com] 
Sent: Wednesday, August 04, 2010 1:32 PM
To: dev@pivot.apache.org; user@pivot.apache.org
Subject: Pivot with Google Guice

Hi all:

For a project of mine, I've written a BXMLModule for use with Google
Guice.  It scans your BXML hierarchy and binds any objects with
bxml:id attributes to singleton instances of the corresponding class
with an @Named(<fully qualified bxml id>) annotation.  Thus, you can
have any element with a bxml:id injected into any of your managed

I'm open to contributing this code, but it's very specific to Guice,
so I'm wondering if anyone on these lists would find it useful or
not... thoughts?


View raw message