Jump to: navigation, search

ECF Identity Bundle

Revision as of 15:36, 20 April 2007 by Slewis.composent.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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