What is the primary purpose of Spring's BeanPostProcessor interface?
-
A
To define initialization logic within a bean
-
B
To intercept and modify beans after instantiation but before use
-
C
To configure the data source for Spring Data
-
D
To register custom scopes with the container