Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ECF Identity Bundle"

(Dependencies)
(ID Creation Factory)
 
Line 40: Line 40:
 
====ID Creation Factory====
 
====ID Creation Factory====
 
   
 
   
Service Interface:  <b>org.eclipse.ecf.core.identity.IIDFactory</b>
+
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.
 
Description:  Gives access to creating ID instances, as well as adding/removing Namespaces to the platform ID factory.

Latest revision as of 15:36, 20 April 2007

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

org.eclipse.ecf.core.identity

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:
   <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

Source Browsing

Back to the top