context.getParentApplicationContext() );
ProvidedBeansMap providedBeans = new ProvidedBeansMap();
// Create the AcrossContextBeanRegistry
AcrossContextBeanRegistry contextBeanRegistry = new DefaultAcrossContextBeanRegistry( contextInfo );
providedBeans.put( contextBeanRegistry.getFactoryName(),
new PrimarySingletonBean(
new DefaultAcrossContextBeanRegistry( contextInfo ),
new AutowireCandidateQualifier( Qualifier.class.getName(),
AcrossContextBeanRegistry.BEAN )
) );
// Put the context and its info as fixed singletons