]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 26 Feb 2017 20:34:28 +0000 (21:34 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:11:02 +0000 (22:11 +0100)
- expanded class config entry with namespace
- added "import" of BaseVisitor, Visitor and TaskVisitor, PoolVisitor
- added "import" of Taskable

Signed-off-by: Roland Häder <roland@mxchange.org>
15 files changed:
framework/config.php
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/handler/tasks/class_TaskHandler.php
framework/main/classes/listener/class_BaseListener.php
framework/main/classes/listener/class_BaseListenerDecorator.php
framework/main/classes/tasks/idle/class_IdleLoopTask.php
framework/main/classes/visitor/tasks/class_ActiveTaskVisitor.php
framework/main/classes/visitor/tasks/class_ShutdownTaskVisitor.php
framework/main/interfaces/handler/task/class_HandleableTask.php
framework/main/interfaces/tasks/class_Taskable.php
framework/main/interfaces/visitor/class_Visitable.php
framework/main/interfaces/visitor/decorator/class_DecoratorVisitor.php
framework/main/interfaces/visitor/listener/class_ListenerVisitor.php
framework/main/interfaces/visitor/pool/class_PoolVisitor.php
framework/main/interfaces/visitor/tasks/class_TaskVisitor.php

index 20e6744b16c99401da93f2dece06308996f5b364..c7265271aec0971491bfc48aeb90ca6f44e49150 100644 (file)
@@ -443,7 +443,7 @@ $cfg->setConfigEntry('task_idle_loop_max_runs', 0);
 $cfg->setConfigEntry('idle_loop_time', 5);
 
 // CFG: SHUTDOWN-TASK-VISITOR-CLASS
-$cfg->setConfigEntry('shutdown_task_visitor_class', 'ShutdownTaskVisitor');
+$cfg->setConfigEntry('shutdown_task_visitor_class', 'CoreFramework\Visitor\Task\Shutdown\ShutdownTaskVisitor');
 
 // CFG: DEFAULT-IMAGE-COMMAND
 $cfg->setConfigEntry('default_image_command', 'build');
index ba156fffaff68a137c6de05d676b0ed50bf1358a..24822399720ac488a6c916f0fc74fa4b090b7f87 100644 (file)
@@ -34,6 +34,7 @@ use CoreFramework\Response\Responseable;
 use CoreFramework\Stream\Output\OutputStreamer;
 use CoreFramework\Template\CompileableTemplate;
 use CoreFramework\User\ManageableAccount;
+use CoreFramework\Visitor\Visitor;
 use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 // Import SPL stuff
index 9d8eb33050a423a72f8ea4956b605b192ac0d68f..82a664fe38c19997eea533bb79ef2d4488d1e3d1 100644 (file)
@@ -7,6 +7,7 @@ use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Handler\BaseHandler;
 use CoreFramework\Lists\Listable;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Task\Taskable;
 
 /**
  * A Task handler
index ff89553e3e88abb347d740ae1bef1b34623c29f0..46f7d5d69f4728b9ae65cbd5af3d968360e5ba47 100644 (file)
@@ -5,6 +5,7 @@ namespace CoreFramework\Listener;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Visitor\Visitor;
 
 /**
  * A general listener class
index 9310865259a7673bfeb2750607f4c7cde5e2e510..5e3c959b06d55f26c23fe893a255f5955b7bef29 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Listener;
 
+// Import framework stuff
+use CoreFramework\Visitor\Visitor;
+
 /**
  * A general decorator for listeners to communicate to hubs
  *
index a8bba3544ff03ede4835cb1bb03953d0ae9ee927..00aecdcd3f64986aea47a70d9a433cfb394cf054 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Task\IdleLoop;
 
+// Import Framework stuff
+use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitor;
+
 /**
  * A IdleLoop task
  *
index 5ef8686a66ed3782e7efae0edd3d1214db71cddf..d4f6d9f58a9c626a1f977a78b6e7ab6324bc3560 100644 (file)
@@ -2,6 +2,12 @@
 // Own namespace
 namespace CoreFramework\Visitor\Task\Active;
 
+// Import framework stuff
+use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\BaseVisitor;
+use CoreFramework\Visitor\Pool\PoolVisitor;
+use CoreFramework\Visitor\Task\TaskVisitor;
+
 /**
  * An ActiveTask visitor
  *
index 01d1b6b2999a7b4e120143332a29d97683420a92..bb329f90370ad4711f999ea87bb4b4fda3faec75 100644 (file)
@@ -2,6 +2,12 @@
 // Own namespace
 namespace CoreFramework\Visitor\Task\Shutdown;
 
+// Import framework stuff
+use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\BaseVisitor;
+use CoreFramework\Visitor\Pool\PoolVisitor;
+use CoreFramework\Visitor\Task\TaskVisitor;
+
 /**
  * An ShutdownTask visitor
  *
index b42d53fbd525cfb581ec16e3160ad161d0c55173..d043c7dffe883c5cf011419b31390014aa00f0cb 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Handler\Task;
 
 // Import framework stuff
 use CoreFramework\Handler\DataSet\HandleableDataSet;
+use CoreFramework\Task\Taskable;
 
 /**
  * A HandleableTask interface
index 07260579b6c1726ab114e582edb56ca95b1c81b7..2b0513dd195f99bdf32e208e4dcfea5014d9e219 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Task;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Visitor\Visitor;
 
 /**
  * An interface for tasks
index 816913a8340f02ba422e22a36e91e099b80544e2..53fd4cd89eab09be1fced8e1abea813c521c17cd 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Visitor;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Visitor\Visitor;
 
 /**
  * An interface for a visitable class that 'accepts' visitors
index 8b7cab4c96ff73f345b1fc7ea6209c997c3b2cfe..033d013f7821426eafbc21eb54e15746f5c84a2a 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Visitor\Decorator;
 
+// Import framework stuff
+use CoreFramework\Visitor\Visitor;
+
 /**
  * An interface for the visitor implementation for decorators
  *
index 03a4adcec0d1b60e561b6d99bb40284d82a64532..979e69c5966c603687dda249f10ac732f445aa3f 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Visitor\Listener;
 
+// Import framework stuff
+use CoreFramework\Visitor\Visitor;
+
 /**
  * An interface for the visitor implementation for listeners
  *
index 6a63a766be1b241c07b16e96eb27e7b9d03e40ed..a3bc173b34f839b4fb15e00d14c9e50b4e1588b1 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Visitor\Pool;
 
+// Import framework stuff
+use CoreFramework\Visitor\Visitor;
+
 /**
  * An interface for the visitor implementation for pools
  *
index 8012b9aa50fa6e0e68ddd60a11b27e12f4141860..3acb342b312b34ae42bedf59719c66acd0d44531 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Visitor\Task;
 
+// Import framework stuff
+use CoreFramework\Task\Taskable;
+use CoreFramework\Visitor\Visitor;
+
 /**
  * An interface for the visitor implementation for tasks
  *