Set<URI> nsuris = p.getNamespaces();
NamespaceHandlerSet nshandlers = nhri.getNamespaceHandlers(nsuris, b);
p.validate(nshandlers.getSchema());
ComponentDefinitionRegistry cdr = new ComponentDefinitionRegistryImpl();
p.populate(nshandlers, cdr);
BeanMetadata compRequiresNew = (BeanMetadata) cdr.getComponentDefinition("requiresNew");
BeanMetadata compNoTx = (BeanMetadata) cdr.getComponentDefinition("noTx");
BeanMetadata compSomeTx = (BeanMetadata) cdr.getComponentDefinition("someTx");
BeanMetadata compAnotherBean = (BeanMetadata) cdr.getComponentDefinition("anotherBean");