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
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.
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,
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