Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-904

Google Guice Integration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: core-beans
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              smartini Sandro Martini
              Reporter:
              teyckmans Tom Eyckmans
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: