Skip to content

Conversation

@bonifaido
Copy link

No description provided.

@bonifaido
Copy link
Author

Okay, this one got messed up, a lot of commits got included. This wasn't my intention.

Anyhow, the automatic configuration binding by field name is something like this:

class AutoBindExample {
  // Will be assigned from name=JohnDoe
  @Configuration 
  String name;

  // Will be assigned from user.name=JohnDoe
  @Configuration("user.") 
  String name;
}

On the other hand SystemConfigurationProvider has been simplified, it's actually a specialized PropertyConfigurationProvider where the Properties are coming from System.getProperties();

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