Tom Eyckmans created PIVOT-904:
----------------------------------

             Summary: Google Guice Integration
                 Key: PIVOT-904
                 URL: https://issues.apache.org/jira/browse/PIVOT-904
             Project: Pivot
          Issue Type: Improvement
          Components: core-beans
            Reporter: Tom Eyckmans
            Priority: Minor
             Fix For: 2.1


Just wanted to let you known I've created a Guice extension/integration for 
apache-pivot (if you can call it that it's just one class :P). I didn't find it 
so thought I'd share it with you.

You can find it here: 
https://bitbucket.org/teyckmans/guicy-apache-pivot/overview

I've created a GuicyBXMLSerializer that extends the BXMLSerializer class. It 
overrides the newTypedObject method to have Guice create new classes and the 
newIncludeSerializer method to make sure that included BXML files also use the 
GuicyBXMLSerializer.
So to use it you only have to use the GuicyBXMLSerializer instead of the normal 
BXMLSerializer to have Guice wire your GUI classes up.

I'm working with Sandro to get this into pivot_contrib. I've made the required 
changes today and I'm waiting for commit access to pivot_contrib to be able to 
commit it there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to