Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemConfigurationProvider can't find ints, longs, and booleans #77

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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