Ok on looking at this a little more carefully, I don’t think I am going to be able to do this the way I wanted too.
The reason being is that the services directory code is fired in applicationStartHandler, which means it is all added after the application is finished setting up, which explains why reloading a module works.
So is it possible to have another event fire at the right time to set this up, or is that asking a bit?
Can you expand on this andrew: So is it possible to have another event fire at the right time to set this up, or is that asking a bit?
Luis F. Majano
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
IECFUG Manager: http://www.iecfug.com
Well without an interceptor setup, I was looking for maybe a preAppInit or maybe something else. Where I could fire that event and load the modules stuff at the required time.
The more I think about this the more I am not sure there is a suitable event, that is not onAppInit or something.