00001 <?php
00002
00003
00004 include_once (dirname(__FILE__) . '/config.php');
00005
00006 include_once (GALAXIA_LIBRARY.'/src/ProcessManager/ProcessManager.php');
00007 include_once (GALAXIA_LIBRARY.'/src/ProcessManager/InstanceManager.php');
00008 include_once (GALAXIA_LIBRARY.'/src/ProcessManager/RoleManager.php');
00009 include_once (GALAXIA_LIBRARY.'/src/ProcessManager/ActivityManager.php');
00010 include_once (GALAXIA_LIBRARY.'/src/ProcessManager/GraphViz.php');
00011
00013 $roleManager = new RoleManager($dbGalaxia);
00015 $activityManager = new ActivityManager($dbGalaxia);
00017 $processManager = new ProcessManager($dbGalaxia);
00019 $instanceManager = new InstanceManager($dbGalaxia);
00020
00021 if (defined('GALAXIA_LOGFILE') && GALAXIA_LOGFILE) {
00022 include_once (GALAXIA_LIBRARY.'/src/Observers/Logger.php');
00023
00024 $logger = new Logger(GALAXIA_LOGFILE);
00025 $processManager->attach_all($logger);
00026 $activityManager->attach_all($logger);
00027 $roleManager->attach_all($logger);
00028 }
00029
00030 ?>