Site Type Factory

Identifier: org.eclipse.update.core.siteTypes

Description: The platform update mechanism supports pluggable site type implementations. A new site type can be registered in order to support alternate site layout schemes.

The siteTypes extension point allows alternate site implementations to be registered using a symbolic type identifier. Whenever the type is referenced using this identifier, the supplied factory is used to create the correct concrete site implementation.

Configuration Markup:

   <!ELEMENT extension (site-factory+)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT site-factory EMPTY>

   <!ATTLIST site-factory
     class CDATA #REQUIRED
   >

Examples: The following is an example of new site type registration.

   <extension
        id="custom"
        point="org.eclipse.update.core.siteTypes"
        name="Custom site">
      <site-factory
          class="com.xyz.update.CustomSiteFactory">
      </site-factory>
   </extension>

API Information: Registered factory classes must implement org.eclipse.update.core.ISiteFactory

Supplied Implementation: The platform supplies two standard implementations of site types. One representing the default update server type, and the other representing the local file system site.



Copyright IBM Corp. and others 2000, 2002.  All Rights Reserved.