]> git.mxchange.org Git - hub.git/blobdiff - application/hub/class_ApplicationHelper.php
Hub-Id creation basicly finished
[hub.git] / application / hub / class_ApplicationHelper.php
index 6f29c8d9219ef148e2d048b1106fcc50464313ef..1c5cb9decee07740fc0790e7d70bdfdba36824a0 100644 (file)
@@ -172,8 +172,16 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                // And try to instance it
                $nodeInstance = ObjectFactory::createObjectByName($className);
 
+               // --------------------- Hub-id aquirement phase ---------------------
+               // Aquire a hub-id. This step generates on first launch anew one and
+               // on any later launches it will restore the hub-id from the database.
+               // A passed 'nickname=xxx' argument will be used to add some
+               // 'personality' to the hub.
+               $nodeInstance->aquireHubId($requestInstance);
+
                // --------------------- Bootstrapping phase ---------------------
-               // Try to bootstrap the node and pass the request instance to it
+               // Try to bootstrap the node and pass the request instance to it for
+               // extra arguments which mostly override config entries
                $nodeInstance->doBootstrapping($requestInstance);
        }