org.apache.tuscany.sca.core
Interface ExtensionPointRegistry

All Known Implementing Classes:
DefaultExtensionPointRegistry

public interface ExtensionPointRegistry

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: 539359 $ $Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $

Method Summary
 void addExtensionPoint(java.lang.Object extensionPoint)
          Add an extension point to the registry
<T> T
getExtensionPoint(java.lang.Class<T> extensionPointType)
          Get the extension point by the interface
 void removeExtensionPoint(java.lang.Object extensionPoint)
          Remove an extension point
 

Method Detail

addExtensionPoint

void addExtensionPoint(java.lang.Object extensionPoint)
Add an extension point to the registry

Parameters:
extensionPoint - The instance of the extension point

getExtensionPoint

<T> T getExtensionPoint(java.lang.Class<T> extensionPointType)
Get the extension point by the interface

Parameters:
extensionPointType - The lookup key (extension point interface)
Returns:
The instance of the extension point

removeExtensionPoint

void removeExtensionPoint(java.lang.Object extensionPoint)
Remove an extension point

Parameters:
extensionPoint - The extension point to remove