Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] ContextFactory.getContexts() clarification


This doesn't seem compatible with the notion of searching for a ContextProvider that services a particular Context. (In other words, look for a Context, find the appropriate ContextProvider, then open the Context...)

Also, do you mean "open for this particular requester" or just open in general? Since opening requires AuthN, what good is it to know whether some Context happens to be open for some other consumer? This requester still might not be able to open it.

On the other hand, I don't think that a ContextProvider must freely advertise all of its Context URIs. (I keep thinking about dynamically-created (probably non-persistent) Contexts for specific views of data, which might be sensitive. I know that's not what we've been talking about lately, but it's my understanding that that's part of the model.)

...Greg


Paul Trevithick wrote:

The conservative route is to have this call return all contexts which ARE opened. I can imagine Context Providers than that would have a hard time returning the list of all contexts that they could open.

I’ve just updated this page <http://spwiki.editme.com/ContextProvider> (see red text) to reflect the “ARE opened” approach. Chime in if you see a problem with this.

-Paul

Jim wrote:

Currently in code: IContextProvider.getContexts()

*Returns:*

The set of Context References Contexts open by this Context Provider

On http://spwiki.editme.com/ContextProvider

getContexts(String filter) - return the set of Context References (URIs) managed by this provider

the word "open" being what I'm wondering about. Does this call return all contexts which are or _could_ be opened, or only those currently opened?

Jim

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

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev



Back to the top