/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
/** * Fires {@link ProcessBeanAttributes} for each enabled bean and updates the environment based on the events. */ public void processClassBeanAttributes() { preInitializeBeans(getEnvironment().getClassBeans()); preInitializeBeans(getEnvironment().getDecorators()); preInitializeBeans(getEnvironment().getInterceptors()); processBeans(getEnvironment().getClassBeans()); processBeans(getEnvironment().getDecorators()); processBeans(getEnvironment().getInterceptors()); // now that we know that the bean won't be vetoed, it's the right time to register @New injection points searchForNewBeanDeclarations(getEnvironment().getClassBeans()); searchForNewBeanDeclarations(getEnvironment().getDecorators()); searchForNewBeanDeclarations(getEnvironment().getInterceptors()); }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }
protected AbstractBeanDeployer<E> deploySpecialized() { // ensure that all decorators are initialized before initializing // the rest of the beans for (DecoratorImpl<?> bean : getEnvironment().getDecorators()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addDecorator(bean); BootstrapLogger.LOG.foundDecorator(bean); } for (InterceptorImpl<?> bean : getEnvironment().getInterceptors()) { bean.initialize(getEnvironment()); containerLifecycleEvents.fireProcessBean(getManager(), bean); manager.addInterceptor(bean); BootstrapLogger.LOG.foundInterceptor(bean); } return this; }