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

ECF/Core Bundle

< ECF
Revision as of 09:47, 22 December 2010 by Hendy.rainbowpurple.com (Talk | contribs) (ECF Core Bundle moved to ECF/Core Bundle)

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

Introduction

The ECF Core Bundle provides basic services for creation of ECF distributed 'containers'. ECF containers are instances of the core org.eclipse.ecf.core.IContainer interface, implemented by other ECF provider plugins.

Bundle-SymbolicName: org.eclipse.ecf

Bundle-Version: 1.0.0

Dependencies

Required ECF Bundles: org.eclipse.ecf.identity

Required Runtime 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.core.runtime.jobs

Required Execution Environment: J2SE-1.3, CDC-1.0/Foundation 1.0

Approximate Code Size: 51K

Exported Packages

org.eclipse.ecf.core

org.eclipse.ecf.core.events

org.eclipse.ecf.core.provider

org.eclipse.ecf.core.security

org.eclipse.ecf.core.start

org.eclipse.ecf.core.user

org.eclipse.ecf.core.util

Re-Exported Packages from Dependent Bundles

org.eclipse.ecf.core.identity

Extension Points

Container Factory

  • org.eclipse.ecf.containerFactory
    • Description: Create new IContainer instances.
    • Example Usage:
   <extension
         point="org.eclipse.ecf.containerFactory">
      <containerFactory
            class="org.eclipse.ecf.provider.generic.GenericContainerInstantiator"
            description="ECF Generic"
            hidden="true"
            name="ecf.generic.client">
      </containerFactory>
   </extension>

ECF Startup

  • org.eclipse.ecf.startup
    • Description: Run arbitrary code upon ECF core bundle start.
    • Example Usage:
   <extension
         point="org.eclipse.ecf.startup">
      <ecfstart
            class="org.eclipse.ecf.example.collab.start.CollabStart"/>
   </extension>

OSGI Services

Container Creation Factory

Service Interface: org.eclipse.ecf.core.IContainerFactory

Description: Gives access to creating IContainer instances, as well as adding/removing IContainerInstantiators to the Container Factory.

Service Access Example:

 ServiceTracker containerFactoryTracker = new ServiceTracker(context,IContainerFactory.class.getName(), null);
 containerFactoryTracker.open();
 IContainerFactory containerFactory = (IContainerFactory) containerFactoryTracker.getService();
 // use containerFactory here

Source Access

Project Set: Anonymous, Committer

CVS

  • Anonymous:  :pserver:anonymous@dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf
  • Committer: :extssh:dev.eclipse.org:/cvsroot/technology:org.eclipse.ecf/plugins/org.eclipse.ecf

Source Browsing

Back to the top