Skip to content

Instantly share code, notes, and snippets.

@bvulaj
Last active March 14, 2018 22:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Third Party Injection
@Configuration
public class AppConfig {
@Bean
@ConfigurationProperties("provider")
public ProviderInfo providerInfo() {
return new ProviderInfo();
}
}
public class ProviderInfo {
private String name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment