Spring Core Archive
In this article, we will explore BeanFactoryPostProcessor in Spring. BeanFactoryPostProcessor works on the bean definitions or configuration meta data of the bean before beans are actually created. Spring provides multiple BeanFactoryPostProcessor beans, so it invoked …
In this tutorial we discuss about the BeanPostProcessor and its need. BeanPostProcessor is interface that tells Spring to do some processing after initialization some beans. BeanPostProcessor is interface that tells Spring to do some processing …
In this article, you’ll be given an overview of Spring Bean Life cycle managed by the spring container, including understanding of Spring containers and IoC. You’ll also get an overview of the spring bean life …
Spring Bean definition inheritance- A bean definition potentially contains a large amount of configuration information, including container specific information and constructor arguments and property values. A child bean definition inherits configuration data from a parent definition. The …
In this chapter, we will show you a short hint about how you can access your Spring-ApplicationContext from everywhere in your Application. We’ll provide our beans with access to the ApplicationContext object by implementing the ApplicationContextAware …
Prototype Bean Scope: If scope is set to prototype, the Spring IoC container creates new bean instance of the object every time a request for that specific bean is made. As a rule, use the …
Singleton Bean Scope: Scopes a single bean definition to a single object instance per Spring IoC container. This is the default behavior of the spring container. When a bean is a singleton, only one shared …