Menu
|
The following services are planned for the Higgins API. Differences from the current version (0.2) are noted. Open root contextThe first thing any application does after instantiating Higgins:
...is to open a context that will act as the root context. This is done as follows: IContextRef cref = h.createContext(String contextExtensionId, String contextName) IContextLink cl = h.open(cref) First we create a Higgins IContextRef to refer to the context that we wish to open. We pass this to the open() method from which Higgins returns an IContextLink--a kind of context proxy object--for the target context.
Open/close (non-root) contextTo open a target context, the application creates an IContextRef (cref) for the context (as described above) and invokes open passing the IContextLink from the "base" context:
Planned changes: In version 0.3 the first argument will be changed to a Digital Subject. The same "auth" argument to be added in version 0.3 as described in the section above on opening a root context will also be added to this method. By version 0.4 or 0.5 the open method will follow the steps outlined here: Open. To close a context whose IContextLink is cl: h.close(cl) NavigateHiggins supports methods that allow the application to navigate and inspect the contents of a context through the IContext interface as allowed by the context's authorization policy. EditHiggins supports methods that allow editing the contents of a context (as allowed by the context's authorization policy). Misc
Last Modified 8/1/06 1:23 PM | Hide Tools |