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"
(→Source) |
(→ID Creation Factory) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
===Dependencies=== | ===Dependencies=== | ||
− | ''Bundles: '' org.eclipse.equinox.common, org.eclipse.equinox.registry | + | |
− | ''Packages: '' org.osgi.framework, org.osgi.service.log, org.osgi.util.tracker, org.eclipse.osgi.util, org.eclipse.osgi.service.debug | + | ''Required ECF Bundles: '' None |
+ | |||
+ | ''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 | ''Required Execution Environment: ''J2SE-1.3, CDC-1.0/Foundation 1.0 | ||
Line 32: | Line 36: | ||
</pre> | </pre> | ||
− | ===Source=== | + | ===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/?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] | *[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