[BUGFIX] ObjectManager dependencies in SignalSlot registration
The SignalSlotDispatcher has a connect() and dispatch() method.
The connect() method usually might be used in ext_localconf.php
to register accordant slots - however, the SignalSlotDispatcher
relies on a fully initialized ObjectManager that also relies on
a fully initialized Caching Framework.
Since the Caches are not ready yet in ext_localconf.php the
whole thing will fail.
This patch removes the dependency of the ObjectManager
injecting itself to the SignalSlotDispatcher by explicitely
calling the initializeObject() method at a later point.
The SignalSlotDispatcher can then be used like this:
t3lib_div::makeInstance('Tx_Extbase_SignalSlot_Dispatcher')
->connect('Tx_MyClass', 'MySignal', 'Slot', 'slotMethod');
Change-Id: Ib0122a341865c334448f23a46bc8841c4817fdf7
Fixes: #39174
Releases: 4.7, 6.0
Reviewed-on: http://review.typo3.org/12989
Reviewed-by: Daniel Lorenz
Reviewed-by: Jacob Rasmussen
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn