public function registerReferences(DescriptorInterface $descriptor)
    {

        //  register the EPB references
        foreach ($descriptor->getEpbReferences() as $epbReference) {
            $this->registerEpbReference($epbReference);
        }

        // register the resource references
        foreach ($descriptor->getResReferences() as $resReference) {
            $this->registerResReference($resReference);
        }

        // register the bean references
        foreach ($descriptor->getBeanReferences() as $beanReference) {
            $this->registerBeanReference($beanReference);
        }

        // register the persistence unit references
        foreach ($descriptor->getPersistenceUnitReferences() as $persistenceUnitReference) {
            $this->registerPersistenceUnitReference($persistenceUnitReference);
        }
    }
public function registerReferences(DescriptorInterface $descriptor)
    {

        //  register the EPB references
        foreach ($descriptor->getEpbReferences() as $epbReference) {
            $this->registerEpbReference($epbReference);
        }

        // register the resource references
        foreach ($descriptor->getResReferences() as $resReference) {
            $this->registerResReference($resReference);
        }

        // register the bean references
        foreach ($descriptor->getBeanReferences() as $beanReference) {
            $this->registerBeanReference($beanReference);
        }

        // register the persistence unit references
        foreach ($descriptor->getPersistenceUnitReferences() as $persistenceUnitReference) {
            $this->registerPersistenceUnitReference($persistenceUnitReference);
        }
    }
public function registerReferences ( DescriptorInterface $ descriptor ) { //  register the EPB references foreach ( $ descriptor -> getEpbReferences ( ) as $ epbReference ) { $ this -> registerEpbReference ( $ epbReference ) ; } // register the resource references foreach ( $ descriptor -> getResReferences ( ) as $ resReference ) { $ this -> registerResReference ( $ resReference ) ; } // register the bean references foreach ( $ descriptor -> getBeanReferences ( ) as $ beanReference ) { $ this -> registerBeanReference ( $ beanReference ) ; } // register the persistence unit references foreach ( $ descriptor -> getPersistenceUnitReferences ( ) as $ persistenceUnitReference ) { $ this -> registerPersistenceUnitReference ( $ persistenceUnitReference ) ; } }
Register's the references of the passed descriptor.

@param \AppserverIo\Psr\Deployment\DescriptorInterface $descriptor The descriptor to register the references for

@return void
Register s the references of the passed descriptor .