I have a service (CronService) which loads configuration from
xml module in local folder.
for example:
<daily time="11:14:00"
service="hr.ot.hosting.manager.Bandwidth" display-name="Test"
method="runTest"/>
reloading a module is not supported,
so I'm wondering how it would be if
I construct another registry with that module only
so I can reload it when needed.
Any thoughts ?:
- Is this reasonable even
- I'll need original registry instance to access service, or
have a list of possible tasks in advance
(which is ok, because services are not as exposed)
Davor Hrg
|