Isn't there maybe a better way which doesn't require a configuration? It seems a little bit strange to me that resource bundles are only registered if they are either configured or loaded by some other means. I would rather expect to get the resource bundle as a service in all cases.
So maybe we should separate registering from the actual loading and maybe just register proxies or something? Regards Carsten > Author: justin > Date: Wed May 11 19:46:32 2011 > New Revision: 1102051 > > URL: http://svn.apache.org/viewvc?rev=1102051&view=rev > Log: > SLING-2061 / SLING-2062 - preloading configured set of resource bundles and > registering each individual resource bundle as a service > > Modified: > > sling/trunk/contrib/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java > > sling/trunk/contrib/extensions/i18n/src/main/resources/OSGI-INF/metatype/metatype.properties -- Carsten Ziegeler [email protected]
