Spring Projects Issues

Results 1565 comments of Spring Projects Issues

**[Sébastien Deleuze](https://jira.spring.io/secure/ViewProfile.jspa?name=sdeleuze)** commented We had a discussion with Rob about his use case. Functional bean registration API is very powerful because it allows to register programmatically beans, using `if` or...

**[Janne Valkealahti](https://jira.spring.io/secure/ViewProfile.jspa?name=jvalkeal)** commented One of the easiest examples to show what we're missing from a programmatic registration is how Spring Integration javadsl fails. If taking below example which creates gateway...

**[Juergen Hoeller](https://jira.spring.io/secure/ViewProfile.jspa?name=juergen.hoeller)** commented I've done some local tests with straight use of an injected `GenericApplicationContext`, and this seems to work fine for me... ``` @Configuration public class MyConfigClass { @Autowired...

**[Janne Valkealahti](https://jira.spring.io/secure/ViewProfile.jspa?name=jvalkeal)** commented I've never seen any of our own code to directly use **GenericApplicationContext**, probably for a good reason as I'd assume it opens a can of worms to...

**[Sébastien Deleuze](https://jira.spring.io/secure/ViewProfile.jspa?name=sdeleuze)** commented [Juergen Hoeller](https://jira.spring.io/secure/ViewProfile.jspa?name=juergen.hoeller) I made a try with my [MiXiT application](https://github.com/mixitconf/mixit) (which is a Spring Boot + Kotlin application), if I replace ``` @SpringBootApplication @EnableConfigurationProperties(MixitProperties::class) class MixitApplication {...

**[Juergen Hoeller](https://jira.spring.io/secure/ViewProfile.jspa?name=juergen.hoeller)** commented [Janne Valkealahti](https://jira.spring.io/secure/ViewProfile.jspa?name=jvalkeal), [Sébastien Deleuze](https://jira.spring.io/secure/ViewProfile.jspa?name=sdeleuze), good points: Such `@Autowired`-driven registrations work in general but they might come in too late for other injection points. I'll see what we...

**[Sébastien Deleuze](https://jira.spring.io/secure/ViewProfile.jspa?name=sdeleuze)** commented Here is a quick update on the Spring Boot + functional bean registration use case : in addition to `@Autowired`-driven registration, the other way to register beans...

**[Juergen Hoeller](https://jira.spring.io/secure/ViewProfile.jspa?name=juergen.hoeller)** commented I still don't have a clear enough vision of a dedicated first-class mechanism here, so I'd rather defer this to 5.1. The existing mechanisms remain in place:...

**[Mark Paluch](https://jira.spring.io/secure/ViewProfile.jspa?name=mp911de)** commented Thanks [Martin Benda](https://jira.spring.io/secure/ViewProfile.jspa?name=mbenda) for having a look in detail on our API. We will see how we can improve here

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be...