contextFactory.setInterceptorNames(Arrays.asList(interceptorNames));
/*
BeanMetaDataFactory contextFactoryMD = installBeanInstance("ComponentBeanFactory", contextFactory);
beanFactories.add(contextFactoryMD);
*/
ComponentVisitor visitor = null;
GenericComponentFactory componentFactory = new GenericComponentFactory(contextFactory, visitor);
BeanMetaDataFactory componentFactoryMD = installBeanInstance("ComponentBeanFactory", componentFactory);
beanFactories.add(componentFactoryMD);
deployment.setBeanFactories(beanFactories);