use of org.mule.runtime.core.internal.registry.MuleRegistryHelper in project mule by mulesoft.
the class MuleArtifactContext method prepareBeanFactory.
@Override
protected void prepareBeanFactory(ConfigurableListableBeanFactory beanFactory) {
super.prepareBeanFactory(beanFactory);
registerEditors(beanFactory);
registerAnnotationConfigProcessors((BeanDefinitionRegistry) beanFactory, beanFactory);
addBeanPostProcessors(beanFactory, new MuleContextPostProcessor(muleContext), new PostRegistrationActionsPostProcessor((MuleRegistryHelper) muleContext.getRegistry(), beanFactory), new DiscardedOptionalBeanPostProcessor(optionalObjectsController, (DefaultListableBeanFactory) beanFactory), new LifecycleStatePostProcessor(muleContext.getLifecycleManager().getState()), new ComponentLocatorCreatePostProcessor(componentLocator));
beanFactory.registerSingleton(OBJECT_MULE_CONTEXT, muleContext);
prepareObjectProviders();
}
Aggregations