Skip to content

Conversation

rbev
Copy link

@rbev rbev commented Jun 6, 2012

To achieve this have separated the injection of the properties from the sourcing of the properties, unfortunately this meant chaning one of your interfaces.

The basic usage remains unchanged as the settingssource now registers any provided settings with the container.
Additional settings providers can just be registered in the container,

The settings sources are "last in wins" and depends on the order they are resolved by the container. This behaviour cannot be relied upon, the easiest way to resolve this would be to throw an exception in the property injector if you try to set the same property twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant