Re: [Evolution-hackers] Camel initialization/shutdown
- From: Not Zed <notzed ximian com>
- To: Jules Colding <colding omesc com>
- Cc: Evolution Hackers <evolution-hackers lists ximian com>
- Subject: Re: [Evolution-hackers] Camel initialization/shutdown
- Date: Wed, 17 Aug 2005 11:27:07 +0800
"providers" are not live objects, they are merely the libraries which
implement something.
Stores, which are normal full-blown objects, represent live connections.
There should bethe possibility of having multiple stores from the same
provider, so global connections usually dont make sense. Particularly
since providers dont get any configuration information, only stores do.
Global resources could be created/destroyed based on the lifecycle of
all the stores that reference them. So long as it's thread-safe, etc.
On Tue, 2005-08-16 at 14:26 +0200, Jules Colding wrote:
> Hi,
>
> I want a global object that the entirety of my provider must be able to
> access. I can see that stores, folders and so on have standard finalize
> and init methods, but I can not find any provider-global finalize
> method.
>
> Does a virtual cleanup method for providers exists which gets called at
> provider shutdown?
>
> If not, how is the provider informed about its eminent death?
>
>
> Thanks,
> jules
>
>
> _______________________________________________
> evolution-hackers maillist - evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
--
adfa(evolution-2.4:20087): gtkhtml-WARNING **: cannot find icon:
'stock_insert-url' in gnome
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]