postProcessBeforeInitialization method

Object postProcessBeforeInitialization(
  1. Object bean,
  2. String beanName
)

Called for each new bean after injection and the aware callbacks, before the init callbacks (@PostConstruct, afterPropertiesSet, init method). Returns the object to go on with, usually bean itself.

Implementation

Object postProcessBeforeInitialization(Object bean, String beanName) => bean;