Re: [interface-discuss] Re: [interface-announce] info/CWS dba203a : css.resource.OfficeResourceLoader

2006-03-20 Thread Joerg Barfurth
Stephan Bergmann wrote: Frank Schönheit - Sun Microsystems Germany wrote: But is OfficeResourceLoader a service or a singleton? It needs to be, since it cashes the obtained resource bundles. I have state, therefore I am! :) Honestly: needs to be what? (Caching might for example be

Re: [interface-discuss] Re: [interface-announce] info/CWS dba203a : css.resource.OfficeResourceLoader

2006-03-20 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Stephan, But is OfficeResourceLoader a service or a singleton? It needs to be, since it cashes the obtained resource bundles. I have state, therefore I am! :) Honestly: needs to be what? Ooops, I read only half of your sentence, it seems :) should be ... to be a singleton.

Re: [interface-discuss] Re: [interface-announce] info/CWS dba203a : css.resource.OfficeResourceLoader

2006-03-20 Thread Stephan Bergmann
Frank Schönheit - Sun Microsystems Germany wrote: Hi Stephan, [...] (Caching might for example be done across multiple service instances, or a service implementation might behave as a singleton, by always returning the same instance for createInstance. What do we need singletons for in UNO,

[interface-discuss] Re: [interface-announce] info/CWS dba203a : css.resource.OfficeResourceLoader

2006-03-19 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Stephan, (re-routing to interface-discuss) But is OfficeResourceLoader a service or a singleton? It needs to be, since it cashes the obtained resource bundles. (If it is a singleton, we might want to discuss whether we want to deviate from existing practice of naming singletons in the