commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Huegen <ahue...@gmx-topmail.de>
Subject Re: [HiveMind] Force loading of Services
Date Wed, 24 Mar 2004 16:24:38 GMT
Am Tue, 23 Mar 2004 11:49:22 +0100 schrieb Christian Essl 
<christianessl@yahoo.de>:

> Maybe it could help if the Registry had a method getLoadedService() this 
> method would instruct (via the ServiceExtensionPoint) the Model to load 
> a deffered Proxy. An alternative would be to add to the services a 
> mixin-interface which has a load() method and would just load the proxy.
>
> To enable checking at Registry build time service-implementations could 
> be marked to be loaded at start-up. This could happen with an extra 
> attribute 'load-at-startup'. Again an alternative would be to have 
> start-levels (OSGi like). This would also help to start timers etc.
>

Sounds reasonable.
What about a special 'development' mode for the registry which forces
it to load all services immediately?

Achim Huegen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message