public void process()

in jpa-blueprint/src/main/java/org/apache/aries/jpa/blueprint/impl/JpaComponentProcessor.java [66:87]


    public void process(ComponentDefinitionRegistry cdr) {
        BlueprintContainer container = getComponent(cdr, "blueprintContainer");
        Bundle bundle = getComponent(cdr, "blueprintBundle");
        cdr.registerComponentDefinition(createServiceRef(JPA_COORDINATOR, Coordinator.class));

        Set<String> components = new HashSet<String>(cdr.getComponentDefinitionNames());
        for (String component : components) {
            ComponentMetadata compDef = cdr.getComponentDefinition(component);
            
            if (compDef instanceof MutableBeanMetadata && !((MutableBeanMetadata)compDef).isProcessor()) {
                // Normal bean def
                handleComponent((MutableBeanMetadata)compDef, bundle, cdr, container);
            } else if(compDef instanceof MutableServiceMetadata) {
                // Bean inlined into service def
                MutableServiceMetadata sMeta = (MutableServiceMetadata)compDef;
                Target target = sMeta.getServiceComponent();
                if (target instanceof MutableBeanMetadata) {
                    handleComponent((MutableBeanMetadata)target, bundle, cdr, container);
                }
            }
        }
    }