hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Hrg" <hrgda...@gmail.com>
Subject Reload configuration
Date Wed, 02 Aug 2006 10:17:44 GMT
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

Mime
View raw message