/** * (non-PHPdoc) * * @return void * @see \AppserverIo\Appserver\Core\AbstractThread::run() */ public function run() { // register the class loader again, because in a Thread the context has been lost maybe require SERVER_AUTOLOADER; // call the parent run method to start the thread parent::run(); }
/** * (non-PHPdoc) * * @return void * @see \TechDivision\ApplicationServer\AbstractThread::run() */ public function run() { // register the class loader again, because in a Thread the context has been lost maybe $this->getInitialContext()->getClassLoader()->register(true); // call the parent run method to start the thread parent::run(); }