public function registerClassLoaders()
    {

        // initialize the registered managers
        /** @var \AppserverIo\Appserver\Core\Interfaces\ClassLoaderInterface $classLoader */
        foreach ($this->getClassLoaders() as $classLoader) {
            // log the class loader we want to initialize
            $this->getInitialContext()->getSystemLogger()->debug(
                sprintf('Now register classloader %s for application %s', get_class($classLoader), $this->getName())
            );

            // register the class loader instance
            $classLoader->register(true, true);

            // log the class loader we've successfully registered
            $this->getInitialContext()->getSystemLogger()->debug(
                sprintf('Successfully registered classloader %s for application %s', get_class($classLoader), $this->getName())
            );
        }
    }
public function registerClassLoaders()
    {

        // initialize the registered managers
        /** @var \AppserverIo\Appserver\Core\Interfaces\ClassLoaderInterface $classLoader */
        foreach ($this->getClassLoaders() as $classLoader) {
            // log the class loader we want to initialize
            $this->getInitialContext()->getSystemLogger()->debug(
                sprintf('Now register classloader %s for application %s', get_class($classLoader), $this->getName())
            );

            // register the class loader instance
            $classLoader->register(true, true);

            // log the class loader we've successfully registered
            $this->getInitialContext()->getSystemLogger()->debug(
                sprintf('Successfully registered classloader %s for application %s', get_class($classLoader), $this->getName())
            );
        }
    }
public function registerClassLoaders ( ) { // initialize the registered managers /** @var \AppserverIo\Appserver\Core\Interfaces\ClassLoaderInterface $classLoader */ foreach ( $ this -> getClassLoaders ( ) as $ classLoader ) { // log the class loader we want to initialize $ this -> getInitialContext ( ) -> getSystemLogger ( ) -> debug ( sprintf ( 'Now register classloader %s for application %s' , get_class ( $ classLoader ) , $ this -> getName ( ) ) ) ; // register the class loader instance $ classLoader -> register ( true , true ) ; // log the class loader we've successfully registered $ this -> getInitialContext ( ) -> getSystemLogger ( ) -> debug ( sprintf ( 'Successfully registered classloader %s for application %s' , get_class ( $ classLoader ) , $ this -> getName ( ) ) ) ; } }
Registers all class loaders injected to the applications in the opposite
order as they have been injected.

@return void
Registers all class loaders injected to the applications in the opposite order as they have been injected .