Skip to main content

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.

Jump to: navigation, search

ECF Identity 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-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