[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [higgins-dev] [IdAS] new methods doc
|
Yes, I should have put isOpenable on the Context, not the ContextFactory.
So, isCreatable(ContextRef) would be TRUE if the ContextFactory knows
how to resolve the URI to a data source, and if it can determine that
the underlying datatype is one that it can interpret. Does that seem
correct?
Actually, wouldn't it be just as simple to just throw an exception on
createContext(ContextRef) if it can't resolve or support the data
format? I don't know why someone would call isCreatable unless they
were planning to create, and checking first would cause the factory to
do the resolution and format checking twice (once for the test, once for
the creation).
...Greg
Jim Sermersheim wrote:
Question on IContextFactory.isOpenable(contextRef, identity)
I remember having the discussion where we thought it would be good to
allow the identity to be passed to a function which tests whether a
context is currently open with a specified identity. I don't remember
us talking about passing the identity to isOpenable here though.
Actually, with the changes, I expected this method to be called
isCreatable(contextRef). Since the role of opening is on IContext now,
the factory can't know whether it's openable given a specified identity.
Jim
>>> Greg Byrd <gbyrd@xxxxxxxx> 7/27/06 3:33 PM >>>
I modified the list of IdAS methods (Working Draft 0.4) and uploaded it
to the IdAS wiki page. I will continue to make edits to the page over
the next few days. I believe this incorporates today's discussion, as
well as other smaller changes to the API from the last few weeks. As
always, feel free to question and critique.
http://spwiki.editme.com/IdentityAttributeService
...Greg
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev
------------------------------------------------------------------------
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev