Notes about Spring IoC
- The
org.springframework.beansandorg.springframework.contextpackages are the basis for Spring Framework’s IoC container. BeanFactoryprovides the configuration framework and basic functionality, and theApplicationContextadds more enterprise-specific functionality.
- What are beans in Spring?
In Spring, the objects that form the backbone of your application and that are managed by the Spring IoC container are called beans. A bean is an object that is instantiated, assembled, and managed by a Spring IoC container. Otherwise, a bean is simply one of many objects in your application. Beans, and the dependecies among them, are reflected in the configuration metadata used by a container.
- AOP Reference
A
Pointcutis a predicate that matches aJoin Point.Adviceis associated with aPointcutand runs at anyJoin Pointmatched by thePointcut.