Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Panel
borderColor#6699ff
bgColor#ffffff
titleBGColor#D5EFFF
titleApache Tuscany SCA Java Extension Guide
borderStylesolid

This page is work in progress. Thanks for your contribution (smile)
This is a guide for developers who would like to extend Tuscany SCA Java.

Section

 A presentation on how to extend Tuscany in Microsoft PowerPoint format: ExtendingTuscany

Anchor
extension
extension
What is an extension?

...

Code Block
package org.apache.tuscany.sca.core;


/**
 * The registry for the Tuscany core extension points. As the point of contact 
 * for all extension artifacts this registry allows loaded extensions to find 
 * all other parts of the system and register themselves appropriately.
 * 
 * @version $Rev: 539355 $ $Date: 2007-05-18 03:05:14 -0700 (Fri, 18 May 2007) $
 */
public interface ExtensionPointRegistry {
    
    /**
     * Add an extension point to the registry
     * @param extensionPoint The instance of the extension point
     */
    void addExtensionPoint(Object extensionPoint);
    
    /**
     * Get the extension point by the interface
     * @param extensionPointType The lookup key (extension point interface)
     * @return The instance of the extension point
     */
    <T> T getExtensionPoint(Class<T> extensionPointType);
    
    /**
     * Remove an extension point
     * @param extensionPoint The extension point to remove
     */
    void removeExtensionPoint(Object extensionPoint);
}

...