Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "IdAS API"
Line 1: | Line 1: | ||
+ | IdAS is a thin layer over a set of [[Context Provider]]s that it manages | ||
+ | |||
+ | The IdAS API has two parts: | ||
+ | # [[IdAS Context Provider Registry]] --this is the API to manage add/remove/configure [[Context Provider]]s. It also allows [[ContextRef|ContextRefs]] to be registered. Registered contexts are in some sense pre-configured by one or more Context Factories, so that a user can query its metadata (including schema and policy) without creating an IContext instance. | ||
+ | # A set of interfaces that are implemented by each [[Context Provider]] | ||
+ | |||
+ | ===Context Provider Interface=== | ||
* See the '''org.eclipse.higgins.idas project''' in the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas/?cvsroot=Technology_Project CVS repository] for the full API, or visit the [http://www.eclipse.org/higgins/org.eclipse.higgins.docs/idas/ Javadoc]. The bullets below give a quick overview of the major interfaces and methods. (In cases where they disagree, the CVS repository takes precedence over this page.) | * See the '''org.eclipse.higgins.idas project''' in the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas/?cvsroot=Technology_Project CVS repository] for the full API, or visit the [http://www.eclipse.org/higgins/org.eclipse.higgins.docs/idas/ Javadoc]. The bullets below give a quick overview of the major interfaces and methods. (In cases where they disagree, the CVS repository takes precedence over this page.) | ||
− | + | ||
− | + | ||
− | + | ||
* ContextFactory | * ContextFactory | ||
** Responsible for the creation of IContext instances that implement a specific type of [[Context]]. | ** Responsible for the creation of IContext instances that implement a specific type of [[Context]]. |
Revision as of 09:48, 16 October 2006
IdAS is a thin layer over a set of Context Providers that it manages
The IdAS API has two parts:
- IdAS Context Provider Registry --this is the API to manage add/remove/configure Context Providers. It also allows ContextRefs to be registered. Registered contexts are in some sense pre-configured by one or more Context Factories, so that a user can query its metadata (including schema and policy) without creating an IContext instance.
- A set of interfaces that are implemented by each Context Provider
Context Provider Interface
- See the org.eclipse.higgins.idas project in the CVS repository for the full API, or visit the Javadoc. The bullets below give a quick overview of the major interfaces and methods. (In cases where they disagree, the CVS repository takes precedence over this page.)
- ContextFactory
- Responsible for the creation of IContext instances that implement a specific type of Context.
- Responsible for associating a ContextRef with the data source (or sources) encapsulated by the designated context.
- IContext
- Implementation of a specific type of Context.
- A user must "open" a context, which involves authenticating to the data source, before accessing its data.
- Includes methods to search for Digital Subjects using context-specific attributes.
- IDigitalSubject
- Implementation of a specific type of Digital Subject.