Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [corona-dev] org.eclipse.corona.container.repository.IMultiRepositoryAdapter

Don't know if checkout operation should be done with fetchResource().

I wonder if we have repository adapter factory, if we could have for instance "IImportableRepository". If you can get an adapter "IImportableRepository" then you can perform import operation with simply IImportableRepository.import()...

I think this approach is much more safer than semantic overload of methods.

Marcin


Jaworowski, Piotr wrote:

1) I managed to get rid of IUIRepositoryAdapter,

2) I’ll try to get rid of this IMultiRepositoryAdapter; just need some more time.

The reason for creating the IMultiRepositoryAdapter was to be able to perform some operations like fetchResource(); open(); close() on several RepositoryDescriptors in one open(); close(); fetchResource() call in the background; and than inform listeners that the operation was completed, (please check the WpRepositoryAdapter class, and inner class AdapterCheckoutOperation).

Cheers,

Piotr

Ps. I’m trying to get rid of this. I’ll let you know about the status.

------------------------------------------------------------------------

*From:* corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] *On Behalf Of *Everitt, Glenn
*Sent:* Monday, March 19, 2007 3:17 PM
*To:* Corona development
*Subject:* [corona-dev] org.eclipse.corona.container.repository.IMultiRepositoryAdapter

Could someone write something up about the role of IMultiRepositoryAdapter? I’m afraid I don’t understand its purpose.

Glenn


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
------------------------------------------------------------------------

_______________________________________________
corona-dev mailing list
corona-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/corona-dev
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Back to the top