Class N2oEnvironmentPostProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanPostProcessor

    public class N2oEnvironmentPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor
    Пост процессор для передачи окружения N2O всем бинам реализующим интерфейс MetadataEnvironmentAware
    • Constructor Detail

      • N2oEnvironmentPostProcessor

        public N2oEnvironmentPostProcessor​(net.n2oapp.framework.api.MetadataEnvironment environment)
    • Method Detail

      • postProcessBeforeInitialization

        public Object postProcessBeforeInitialization​(Object bean,
                                                      String beanName)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException