public function bootstrap()
{
// setup autoloader
require SERVER_AUTOLOADER;
// enable garbage collection
gc_enable();
// synchronize the application instance and register the class loaders
$application = $this->getApplication();
$application->registerClassLoaders();
// try to load the profile logger
if ($this->profileLogger = $this->getApplication()->getInitialContext()->getLogger(LoggerUtils::PROFILE)) {
$this->profileLogger->appendThreadContext('persistence-container-garbage-collector');
}
}