Announcement Announcement Module
Collapse
No announcement yet.
Performance of AutowireCapableBeanFactory().autowireBean(...)? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Performance of AutowireCapableBeanFactory().autowireBean(...)?

    I have an application code base which makes frequent calls to:
    Code:
    AutowireCapableBeanFactory.autowireBean(...)
    My understanding is that Spring context initialization is *NOT* designed for continuous runtime use and that the Spring context use case is to do the dependency injection and for applications to load the beans they need at start up once for use for the lifetime of the application.

    My experience of continuously and rapidly making calls back to a Spring ApplicationContext at runtime has been that it is not performant and that it is, in fact, not designed to be.

    Is my understanding correct here?
Working...
X