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 "ECF Identity Bundle"
(→ID Creation Factory) |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Bundle | + | ===Introduction=== |
+ | The ECF Identity Bundle provides basic services for distributed identity. This includes the creation of instances of the ID interface, which provides a basic contract for uniqueness within an associated Namespace. | ||
− | Bundle- | + | ''Bundle-SymbolicName:'' '''org.eclipse.ecf.identity''' |
− | + | ''Bundle-Version: ''1.0.0 | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ===Dependencies=== | |
− | + | ''Required ECF Bundles: '' None | |
− | [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity/META-INF/MANIFEST.MF?root=Technology_Project&view=markup Bundle Manifest] | + | ''Required Bundles: '' [http://www.eclipse.org/equinox/bundles/ org.eclipse.equinox.common], [http://www.eclipse.org/equinox/bundles/ org.eclipse.equinox.registry] |
+ | |||
+ | ''Required Packages: '' org.osgi.framework, org.osgi.service.log, org.osgi.util.tracker, org.eclipse.osgi.util, org.eclipse.osgi.service.debug | ||
+ | |||
+ | ''Required Execution Environment: ''J2SE-1.3, CDC-1.0/Foundation 1.0 | ||
+ | |||
+ | ''Approximate Code Size: ''30K | ||
+ | |||
+ | ===Exported Packages=== | ||
+ | [http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/eclipse/ecf/core/identity/package-frame.html org.eclipse.ecf.core.identity] | ||
+ | |||
+ | [http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/eclipse/ecf/core/util/package-frame.html org.eclipse.ecf.core.util] | ||
+ | |||
+ | ===Extension Points=== | ||
+ | *org.eclipse.ecf.identity.namespace | ||
+ | **Description: Create new Namespace types (and associated ID instances) and register with IDFactory. | ||
+ | **Example Usage: | ||
+ | <pre> | ||
+ | <extension | ||
+ | point="org.eclipse.ecf.identity.namespace"> | ||
+ | <namespace | ||
+ | class="org.eclipse.ecf.internal.provider.irc.identity.IRCNamespace" | ||
+ | name="ecfircid"/> | ||
+ | </extension> | ||
+ | </pre> | ||
+ | |||
+ | ===OSGI Services=== | ||
+ | |||
+ | ====ID Creation Factory==== | ||
+ | |||
+ | Service Interface: <b>[http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/eclipse/ecf/core/identity/IIDFactory.html org.eclipse.ecf.core.identity.IIDFactory]</b> | ||
+ | |||
+ | Description: Gives access to creating ID instances, as well as adding/removing Namespaces to the platform ID factory. | ||
+ | |||
+ | Service Access Example: | ||
+ | |||
+ | <pre> | ||
+ | ServiceTracker idFactoryTracker = new ServiceTracker(context,IIDFactory.class.getName(), null); | ||
+ | idFactoryTracker .open(); | ||
+ | IIDFactory idFactory = (IIDFactory) idFactoryServiceTracker.getService(); | ||
+ | // use idFactory here | ||
+ | </pre> | ||
+ | |||
+ | ===Source Access=== | ||
+ | ''Project Set: ''[http://www.eclipse.org/ecf/projectsetfiles/ecf.identity.anonymous.psf Anonymous], [http://www.eclipse.org/ecf/projectsetfiles/ecf.identity.committer.psf Committer] | ||
+ | |||
+ | CVS | ||
+ | *Anonymous: :pserver:anonymous@dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity | ||
+ | *Committer: :extssh:dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity | ||
+ | |||
+ | ===Source Browsing=== | ||
+ | *[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity/?root=Technology_Project Bundle Source] | ||
+ | |||
+ | *[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity/META-INF/MANIFEST.MF?root=Technology_Project&view=markup Bundle Manifest] |
Latest revision as of 15:36, 20 April 2007
Contents
Introduction
The ECF Identity Bundle provides basic services for distributed identity. This includes the creation of instances of the ID interface, which provides a basic contract for uniqueness within an associated Namespace.
Bundle-SymbolicName: org.eclipse.ecf.identity
Bundle-Version: 1.0.0
Dependencies
Required ECF Bundles: None
Required Bundles: org.eclipse.equinox.common, org.eclipse.equinox.registry
Required Packages: org.osgi.framework, org.osgi.service.log, org.osgi.util.tracker, org.eclipse.osgi.util, org.eclipse.osgi.service.debug
Required Execution Environment: J2SE-1.3, CDC-1.0/Foundation 1.0
Approximate Code Size: 30K
Exported Packages
Extension Points
- org.eclipse.ecf.identity.namespace
- Description: Create new Namespace types (and associated ID instances) and register with IDFactory.
- Example Usage:
<extension point="org.eclipse.ecf.identity.namespace"> <namespace class="org.eclipse.ecf.internal.provider.irc.identity.IRCNamespace" name="ecfircid"/> </extension>
OSGI Services
ID Creation Factory
Service Interface: org.eclipse.ecf.core.identity.IIDFactory
Description: Gives access to creating ID instances, as well as adding/removing Namespaces to the platform ID factory.
Service Access Example:
ServiceTracker idFactoryTracker = new ServiceTracker(context,IIDFactory.class.getName(), null); idFactoryTracker .open(); IIDFactory idFactory = (IIDFactory) idFactoryServiceTracker.getService(); // use idFactory here
Source Access
Project Set: Anonymous, Committer
CVS
- Anonymous: :pserver:anonymous@dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity
- Committer: :extssh:dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf.core.identity