aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chu-Carroll (JIRA)" <>
Subject [jira] [Created] (AURORA-496) Modify config binding helper registration in clientv2
Date Fri, 30 May 2014 13:53:01 GMT
Mark Chu-Carroll created AURORA-496:

             Summary: Modify config binding helper registration in clientv2
                 Key: AURORA-496
             Project: Aurora
          Issue Type: Task
          Components: Client
            Reporter: Mark Chu-Carroll
            Assignee: Mark Chu-Carroll

Config binding helpers (components that add macros to the pystachio
config language) were registered in a way that used self-construction. 

In practice, binding helpers need initialization that comes from command-line parameters.
With the implicit construction method, we can't provide construction parameters to the helpers.

We need to switches to an explicit construction/registration, instead
of auto-construction when the class is registered. (Interestingly, this
is the way that the documentation on the binding helpers code says that
it works!)

Instead of writing:

We should write:

Which makes it possible to do:

This message was sent by Atlassian JIRA

View raw message